-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Enable code splitting at the route level #563
Comments
Hey @seriouslysean, I would like to work on this. Can you please assign it to me? |
@Nishith-Savla when working on this, 2 things to look out for:
I expect time to first byte will improve, but I don’t want that to be at the cost of navigation speeds when browsing from page to page. Keeping in mind the critical path is Home/GameList -> Lobby -> Game. |
Yes will surely keep in check. Also, how do I check the bundle size for each route? Through the browser network captures? |
Browser capture is totally fine. Some sort of bundle analyzer or do a production build and check files on the hard drive. |
Ok will try. |
Hi @seriouslysean , I would to contribute into this. Can you please assign this to me ? |
HI @seriouslysean , is this issue resolved because in https://github.com/cuttle-cards/cuttle/blob/main/src/router.js#L43 |
I am trying to create a pr, but this is coming |
Your PR is created, it is waiting for review, and approval from the Core Team before it can be merged into the codebase 👍 |
Feature Summary
Async load top level view components to take advantage of code splitting
Detailed Description
Convert routes to something like this:
The text was updated successfully, but these errors were encountered: