Skip to content
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

Split the app into multiple small app #402

Open
Tracked by #516
lihan opened this issue Oct 21, 2015 · 9 comments
Open
Tracked by #516

Split the app into multiple small app #402

lihan opened this issue Oct 21, 2015 · 9 comments

Comments

@lihan
Copy link

lihan commented Oct 21, 2015

Is there a way to split the app into multiple small apps easily? Otherwise people who is on homepage has to load all other pages, this makes loading slower.

@trueter
Copy link
Contributor

trueter commented Oct 21, 2015

The bundle on the heroku app is just 131kb gzipped, including all vendor code - I consider that small enough. If you still want to split the app take a look at Webpack code splitting.

@lihan
Copy link
Author

lihan commented Oct 22, 2015

@trueter The bundle size with this example isn't a problem. It will be a problem as you start developing on the top of this. Since this is a boilerplate, it worthy considering to have this feature.

@arkist
Copy link
Contributor

arkist commented Oct 24, 2015

@YellowOrWhite
Copy link

Is it a good idea to use webpack code splitting for admin area, or separate app is prefered?

@lihan
Copy link
Author

lihan commented Oct 30, 2015

@YellowOrWhite All sub apps should be lazily loaded. This would be useful to demonstrate in this template.

@quicksnap quicksnap mentioned this issue Nov 10, 2015
8 tasks
@trueter
Copy link
Contributor

trueter commented Nov 12, 2015

Just found this A router is the perfect place to handle code splitting: react-router/DynamicRouting.md

Does anyone know whether it makes sense to split vendor css like bootstrap and font-awesome into a separate bundle? Could this improve rebuild speed?

@ananddodia
Copy link

I saw code splitting with webpack. But need some help with this boilerplate as example for code splitting.
How can i implement with ES6 syntax? that is my problem

@bertho-zero
Copy link

@ananddodia
Copy link

@bertho-zero Thank you. I will have look into that link and get back if any doubt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants