Difference declarations and entryComponents


#1

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


#2

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

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


#4

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


#5

My pipes are declarations but no entryComponents.