Angular 2+ performance… It’s all about the app.module

If you want your angular app to startup quickly and run smoothly you will need to keep your app.module tidy. Push as many declarations down to lazy loaded modules and avoid declaring anything but the bare minimum.

Anything you put in the app.module will always get loaded, even if its only required by one page.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.