I am working on an Ionic
app ( 2.0.0-rc0
) which depends on angular 2
. So the new introduction of ngModules
is included.
As of Angular 9 entryComponents
is no longer required thanks to Ivy allowing this feature to be deprecated and so can be removed from module declarations.
Deprecated APIs and features - entryComponents and ANALYZE_FOR_ENTRY_COMPONENTS no longer required
Previously, the
entryComponents
array in theNgModule
definition was used to tell the compiler which components would be created and inserted dynamically. With Ivy, this isn't a requirement anymore and theentryComponents
array can be removed from existing module declarations. The same applies to theANALYZE_FOR_ENTRY_COMPONENTS
injection token.
Angular Ivy
Ivy is the code name for Angular's next-generation compilation and rendering pipeline. With the version 9 release of Angular, the new compiler and runtime instructions are used by default instead of the older compiler and runtime, known as View Engine.