You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Universal apps rendering their initial render on the server cannot use this library since it has a document and window dependency.
Please add to your script logic the following test to check if this is running in fact on the client...
Hey @chenjiahan, an upgrade to 1.2.10 still throws a "ReferenceError: window is not defined" for me during server-side render.
React v15 added onAnimationEnd support, which would remove the need for the animationEvents.js util I believe the error is still originating from, I submitted #5 to use this if you wanna consider it. :)
Universal apps rendering their initial render on the server cannot use this library since it has a document and window dependency.
Please add to your script logic the following test to check if this is running in fact on the client...
The text was updated successfully, but these errors were encountered: