O'Reilly logo

Mastering Angular Components by Gion Kunz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Purifying our task list

In the previous three sections, we looked into the basics of using immutable data structures and that Angular can be configured to assume that components only change when their input changes. We learned about the concept of "pure" components and how we can configure Angular's change detection to gain some performance benefits. We also learned about the concept of container components to separate our UI components from our application state.

Within this section, we would like to refactor our application to include our newly learned skills about immutability, "pure" components, and container components.

Let's start with our existing task list component. Currently, this component is directly interacting with data coming ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required