The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Angular 2 Smart Components vs Presentation Components

Angular 2 Smart Components vs Presentation Components

2:25
Both Smart Components and Presentation Components receive data from Services in entirely different ways. Smart Components use constructor injection to lookup the entire service from the injector while Angular 2 Presentation components take the data from `@Input` defined on their component class.
Watch this lesson now
Avatar
egghead.io

Both Smart Components and Presentation Components receive data from Services in entirely different ways. Smart Components use constructor injection to lookup the entire service from the injector while Angular 2 Presentation components take the data from @Input defined on their component class.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?