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
New ssr
option
#247
base: master
Are you sure you want to change the base?
New ssr
option
#247
Conversation
Our use case: we only have a small subset of components that are visible to SSR (e.g. publically available content). In our e2e tests, |
Although, I guess this solution requires us to just statically annotate the loadable components to indicate which ones to preload, whereas I would prefer a solution where there can be async rendering that loads the modules needed to render the page and nothing extra. |
I have a solution in mind for that, however at this rate of feedback from @jamiebuilds I'm not sure if this is the right library to contribute to. |
Yeah, I'm going to experiment with the other loadable components library and see if it helps.
…On Mar 1, 2022, 7:36 AM -0800, Troy Rhinehart ***@***.***>, wrote:
> I would prefer a solution where there can be async rendering that loads the modules needed to render the page and nothing extra.
I have a solution in mind for that, however at this rate of feedback from @jamiebuilds I'm not sure if this is the right library to contribute to.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.Message ID: ***@***.***>
|
After I upgraded webpack 4 to wepack5 。The react-loadable plugin failed chunk.forEachModule is not a function. function buildManifest(compiler, compilation) { compilation.chunks.forEach(function (chunk) {
}); return manifest; How can I fix this bug and make it work? |
Support optional
ssr
option to allowLoadable.preloadAll(true)
to only preload modules that are needed for SSR.