Container vs. Presentational Components
export class Book {
title?: string;
constructor(args: Book = {}) {
this.title = args.title;
}
}import { Book } from './book/book';
...
export class AppComponent {
bookList = [
new Book({
title: 'eXtreme Programming Explained'
}),
new Book({
title: 'ReWork'
})
];
};

Container Component (ou Smart Component)
Presentational Component (ou Dumb Component)
Article plus détaillé sur le sujet
Interaction entre Composants
Mis à jour