This repository has been archived by the owner on Mar 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Support for SSG/SSR? #14
Comments
Not really, but this looks interesting. We'd have to rewrite the runtime in a way that doesn't rely on window variables. |
You can use
Then use it as a normal component
|
Thanks @adalbertopc. I ended up doing something similar to this. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using React-based frameworks like NextJS or GatsbyJS causes issues with server side rendering / generation due to the fact that the window obj is undefined at build time (see attached screenshot). Possible to patch a fix that prevents this issue?
The text was updated successfully, but these errors were encountered: