Difference declarations and entryComponents

Hi,

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

Thanks
Daniel

4 Likes

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:

3 Likes

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

3 Likes

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.