...

/

Presentational vs. Container Components

Presentational vs. Container Components

Here, you’ll learn the differences between presentational and container components.

Presentational components

Presentational components are dumb in the good sense when talking about flexibility and reusability. They assume very little about the context they are used in. Therefore, we can easily use them in different contexts and even in different applications. They define “private” properties, they are configured via passed-in arguments, and they can only change their surroundings via actions in Ember. A widget to rate items by clicking on stars or a fancy drop-down ...

Access this course and 1400+ top-rated courses and projects.