Search⌘ K

Reacting to Change

Explore how to build reactive forms in Angular that recalculate and display pizza prices dynamically. Understand using observables with form controls, handling value changes, and applying logic to update totals efficiently.

At some point, the customer needs to know how much all these pizzas will cost them.

Displaying changing prices

Observables let us react to user input to keep an updated total price on the page, but how do we recalculate the price only when relevant ...