What is a routed entry component?

Posted by Jessica Taylor | Updated on

The components referenced in router configuration are called as routed entry components. This routed entry component defined in a route definition as below,

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.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers