Can't use library which depends on browser context and browser API.
HirenPatel2791 opened this issue · comments
Serverside rendering in react-dashboard breaks build. any code accessing window and document object will throw error: ReferenceError: window is not defined
.. any idea how to prevent that?
Hi,
Try to import window from this library - https://github.com/Raynos/global