-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
Fallback overlaps HTML from ssr #748
Comments
Hey @ops1ops 👋, |
Sounds like you are not waiting for |
@theKashey you mean that i should mount (hydrate) my components in passed callback of loadableReady (according to example with NodeJS SSR), but if i do this how to start loading components? I mean when i mount components -> loadable starts working and fetching chunks, but if i move it to loadableReady, chunks are not event loaded upd. ive researched better the example and seems that server knows loadable components chunks and with html he sends them, so thats why loadableReady works, please let me know if i missed something |
That's all correct - you have to configure ChunkExtractor on the server and wait using |
Thanks for help, closing the issue |
it seems that fallback makes hydration borken. |
this is true for React<17. One has to use The issue affects all React versions after 16.10 - atlassian-labs/react-loosely-lazy#46 |
Hello, im using loadable with rails ssr, so i faced the problem when my html being loaded for a while and then loadable shows fallback (so whole html become white), so question is can i disable this behavior or maybe im missing something in cofiguration
The text was updated successfully, but these errors were encountered: