New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle isomophic rendering #3
Comments
Hi Matthew, thanks for coming up with this suggestion! There are indeed a couple of places wher To be honest I haven't tried to render it completely SSR (ie. Next.js). The docs are written in Gatsby.js, and a while back I had some Anyway, it is certainly my intention to support SSR. I will do some research on SSR and check in a more solid way if it's indeed fully compatible. If you have any recommendations, please let me know. |
I've added a little test ( I still need to check if the components gets hydrated properly. Will check asap ;) |
Ok, I did some manual testing, and the component seems to hydrate properly on the frontend-side :). Hard to test this in a automated way though, since React is showing warnings in the console, instead of throwing an error. Any advice on this? |
Seems what you did is the correct way to handle it. Tippy-react basically do the same with the fallback |
Currently the library requires
window.
.Maybe look for a way to check if the component is being rendered in the browser before doing that to support SSR
The text was updated successfully, but these errors were encountered: