You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lazy load all embedded components to shave off bytes needed for initial rendering #16127
Current behavior
We load all material components and embedded components upfront - even if we don't need them.
Expected behavior
All embedded components should be lazy loaded and prefetched instead.
This will require us to refactor the site a bit. In the first step we should just move all the embedded components into a single NgModule that is lazy loaded and along with that change, move most material modules to that module.
Later, we can be more sophisticated and break the ngmodule with embedded components into smaller units and load those on as needed basis.
Activity
JLuitjens commentedon Apr 18, 2017
True, here is a solution
https://oclazyload.readme.io/
WIP - feat(aio): lazy-load embedded components
feat(aio): lazy-load embedded components (#18428)
angular-automatic-lock-bot commentedon Sep 12, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.