-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Chunks are not splitted #225
Comments
I've also noticed this issue, I've already fixed it in my project and I'll make a PR tomorrow for it here. |
This is now fixed in #226, @wellyshen ptal. |
Mmh, I tried your solution, but it doesn't seem to work any better. |
That's weird, i'll retry this afternoon. Now loadable-components support prefetch, and the library is recommanded by react team as alternative of lazy |
This was the main issue I had when trying to implement it here last time: It seems there are still some outstanding issues related to SSR: We would probably need those fixed/resolved before we can think about trying again. |
I will try loadable-components again today as I think most of those issues wouldn't apply here. |
I just tried loadable-components I have the same issue: |
I made the same mistake with loadable-component, it's work well, i'll make a PR soon |
Hi,
I just noticed that code splitting though React-Loadable seems to not work anymore.
Expected Behavior
Pages required with react-loadable should be split in different bundles
Actual Behavior
All code is bundled inside a single chunk file
Your Environment
The text was updated successfully, but these errors were encountered: