-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Consider adding the home route to client.js #1514
Comments
I agree, PR is welcome! |
jorrit
added a commit
to jorrit/react-starter-kit
that referenced
this issue
Jan 23, 2018
jorrit
added a commit
to jorrit/react-starter-kit
that referenced
this issue
Jan 24, 2018
frenzzy
pushed a commit
that referenced
this issue
Jan 24, 2018
n-parasochka
pushed a commit
to n-parasochka/react-starter-kit
that referenced
this issue
Apr 29, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lots of common code is saved in every page chunk, as can be seen on the attached image.
When the home route is added to the main client.js bundle, all other bundles decrease in size dramatically, because a lot of their code is now already available.
Before:
After:
I think home.js is loaded most of the time anyway because the homepage usually draws most traffic.
The text was updated successfully, but these errors were encountered: