What is a routed entry component?
The components referenced in router configuration are called as routed entry components. This routed entry component defined in a route definition as below,
const routes: Routes = [{path: '',component: TodoListComponent, // router entry component},];
Since router definition requires you to add the component in two places (router and entryComponents), these components are always entry components.
Note: The compilers are smart enough to recognize a router definition and automatically add the router component into entryComponents
.
June 26, 2022
185
Read more
What is Angular Framework?
November 04, 2022
AngularWhat is a Angular module?
November 03, 2022
AngularWhat are the steps to use animation module?
October 31, 2022
Angular