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
\ssr-aft\node_modules\split.js\split.js:13
var global = window;
^
this is because the import statements 'aggressively' evaluate globals.
I plan to use the library within React didMount (meaning that by the time the library is needed, I will be in the browser). Because selective/dynamic imports are not yet an available feature of javascript -- these kinds of things create problems.
So wanted to check with user community of the Split.js on what they do to get this working with SSR
thank you
The text was updated successfully, but these errors were encountered:
hello,
getting error
this is because the import statements 'aggressively' evaluate globals.
I plan to use the library within React didMount (meaning that by the time the library is needed, I will be in the browser). Because selective/dynamic imports are not yet an available feature of javascript -- these kinds of things create problems.
So wanted to check with user community of the Split.js on what they do to get this working with SSR
thank you
The text was updated successfully, but these errors were encountered: