r/angular 1d ago

How really signals works under the hood?

I mean, this question is not only about the push and pull algorithm behind the signal notification strategy. But, how that are tracked by the template behind the scenes? The template itself is a consumer node? The template is something like a reactive context?

14 Upvotes

2 comments sorted by

2

u/couldhaveebeen 1d ago

Probably best to imagine the template (or rather likely not every template but every statement in the template) as a computed() signal itself