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
Webpack production build using Gatsby return WebpackError: ReferenceError: window is not defined.
Should make sure window is define before loading intersection-oberver. Will also make other window usage in scrollama.js works with that mechanic.
The text was updated successfully, but these errors were encountered:
Just clarifying, this is code executed by the browser, correct? Because Gatsby is a server side renderer, so if you're rendering on node, window won't be defined. Just want to make sure we're on the same page.
Webpack production build using Gatsby return
WebpackError: ReferenceError: window is not defined
.Should make sure window is define before loading
intersection-oberver
. Will also make other window usage in scrollama.js works with that mechanic.The text was updated successfully, but these errors were encountered: