-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Move webpackManifest to below body #2541
Comments
I'm not very experienced with Webpack, but won't everything "just work" if all the JS is at the bottom of the body, as long as this manifest is above all the other JS? Since Gatsby sites work without JS (I assume), it would make sense to defer as much of it as possible. |
eh probably :-) I haven't thought about this stuff for 6 months so I'd need to research to remember why I moved it back to the top. But yeah, I don't think this is a very hard fix. |
@KyleAMathews What exactly is this |
@KyleAMathews This issue can be closed now thanks to #3519. |
@szimek thanks again for the PR! |
It can get quite large on big sites so blocks the initial render.
We'd need to revisit how to ensure webpack doesn't start working until this is read in.
Requested in reactjs/react.dev#179
The text was updated successfully, but these errors were encountered: