I'm configuring the redux store for my NextJS application and i usually use the Reactotron library to inspect the store. But, NextJS is server side rendering and if i import the configuration in the app file, it gives an error window is not defined
That's my config file: https://github.com/LauraBeatris/amazon-next/blob/develop/src/config/ReactotronConfig.js
And my app file: https://github.com/LauraBeatris/amazon-next/blob/develop/src/pages/_app.js
I want to know if there's a way of using Reactotron with NextJS
In NextJS you can dynamically import a module on the client side only. You should import it like this:
But I'm not sure if Reactotron will work the way you expect, as I don't know the library.