In 2023, the Angular team made a proposal on GitHub and answered a question it knew would come up: would teams have to rewrite their apps again? Some readers remembered the jump from AngularJS to Angular. This time the team offered a way to change how the framework noticed updates without asking an existing app to move all at once. To see why that mattered, picture a shopper removing a sweater from a cart. Two items remain on the page. The badge at the top still says three.

Before Signals

Two places to keep one fact

A cart can end up with two records of what just happened: the list, and a separately stored count in the header. The remove button might update both. Then someone adds an undo button or a server response that replaces the list. If either path forgets the count, both parts of the page can render correctly and still disagree.

For years, Angular leaned on Zone.js to notice events such as clicks, timers, and network callbacks and schedule a round of change detection. That gave developers a convenient deal: change ordinary JavaScript data and Angular would check the page. The catch was that the notification did not say which value changed, and even checking both cart displays could not repair a count that the app itself had left stale. Angular’s team was tackling two related problems: how to express what depends on what, and how to tell which views need attention.

2023

Give the badge one thing to believe

Alex Rickabaugh and the Angular team proposed Signals as values the framework could track when they were read. In the cart, the list can be the only stored fact. The badge reads a computed count that depends on the list. When the sweater goes away, the old count is invalid. The next read calculates two, and later reads reuse that answer until a dependency changes. Now it makes no difference which path removed the sweater.

With a Signal read in a template, Angular can also mark the view that needs checking when that Signal changes. This is a more precise clue than knowing that some callback ran. It still leaves the app with a decision: a count comes from the cart, but a discount returned by the server may need to be kept as its own fact.

One cart feeds the rows and the computed count. Remove a row from the cart and the badge follows the same list instead of keeping a second total.

2023–2025

The people who built the old tools built new ones too

The proposal made room for RxJS, the library Angular teams use for streams of events and responses. A Signal can answer “what is the current cart?” A stream can help manage several search requests and cancel an older one when another starts. Teams could keep the stream and hand the resulting value to a Signal when it was time to show it.

The NgRx team took that route. Marko Stanimirović proposed a new library, and in November 2023 Brandon Roberts announced NgRx Signals with support for opting into RxJS where it was useful. The project added a new state tool without taking away its established Store. Teams had an example of how to adopt the idea without replacing the infrastructure they already depended on.

2025–2026

The experiment changes the default

Angular v21 made change detection without Zone.js the default for new apps. The team pointed to production experience inside Google as one reason for making the switch. In v22, OnPush became the default for new apps too, so Angular can skip parts of the page that do not need to be checked. An older app still has a migration decision: a library that relies on Zone.js to trigger a check may need to change how it tells Angular that something is ready to display.

Back at checkout, the shopper has only one question: did the sweater come out of the order? When the rows and the badge both depend on the same cart, the whole page can answer at once.

Original sources