Why is not necessary to use entryComponents array every time?

Most of the time, you don't need to explicity to set entry components in entryComponents array of ngModule decorator. Because angular adds components from both @NgModule.bootstrap and route definitions to entry components automatically.


Author of content
Edit this page

Made by Michael Sakhniuk

Twitter