Ryan Hoffnan
Apr 23, 2022

but ... ummmm... what....

Put a side the fact the the bundle size is because routrer module is havier then your components, if you shopping cart component gets big then your "benefit" will revert.

Using lazy loaded modules is the only way to improve initi bunlde size (build time will stay the same)

For decreasing bundle size you can implement a microfrontend pipeline which each page is an separate application,

Ryan Hoffnan
Ryan Hoffnan

Written by Ryan Hoffnan

Full stack developer - Frontend oriented

No responses yet