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

Lazy Load Page Widgets #17

Open
1 of 3 tasks
acouch opened this issue Dec 22, 2017 · 0 comments
Open
1 of 3 tasks

Lazy Load Page Widgets #17

acouch opened this issue Dec 22, 2017 · 0 comments

Comments

@acouch
Copy link
Member

acouch commented Dec 22, 2017

Issue Type

Description

Currently the way that the pages are setup all of the possible widgets are imported on every page no matter which ones are used: https://github.com/interra/catalog-generate/blob/master/app/containers/PageSection/index.js#L14

Webpack supports dynamically loading https://webpack.js.org/api/module-methods/#import- Not sure if this would result in different chunking or not since the page is the same. At least for each site you would only load the widgets you want.

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

1 participant