我正在为我的 NextJS 应用程序配置 redux 存储,我通常使用 Reactotron 库来检查存储。但是,NextJS 是服务器端渲染,如果我在应用程序文件中导入配置,则会出现错误window is not defined
那是我的配置文件: https ://github.com/LauraBeatris/amazon-next/blob/develop/src/config/ReactotronConfig.js
还有我的应用文件: https ://github.com/LauraBeatris/amazon-next/blob/develop/src/pages/_app.js
我想知道是否有办法将 Reactotron 与 NextJS 一起使用