Difference declarations and entryComponents



on the update to RC0 i ask myself why declarations and entryComponents are exacly the same.

What is the difference?

also in the https://github.com/driftyco/ionic-conference-app



I’m not sure but entryComponents are for components that must be loaded also if not template tag is found around.
IMHO, basically all the components you push onto a NavController stack must be declared also in entryComponents.

I wish that “ionic generate page $page” could save that tedious task for us :slight_smile:


See What is an entry component? in the Angular docs.


Here’s the updated link https://angular.io/docs/ts/latest/cookbook/ngmodule-faq.html#!#q-entry-component-defined


My pipes are declarations but no entryComponents.