ANGULARarchitects.io - Michael Egger-Zikes
Angular 16 introduced a new reactive primitive called Signals. Those APIs offer an additional concept besides RxJS to handle reactivity and influence the framework in many areas. Signals will lead to a different more fine-grained and more performant way of processing the Change Detection to update the view. All of this is added in a backward-compatible way.
While the use of Signals feels simpler and more intuitive than RxJS subscription management, it will likely not replace RxJS in all areas. Since Signals are that easy to work with, many developers are surprised how the “Magic of Angular Signals” is implemented in detail and why it is possible that computed values and effects reprocess as dependent Signals change.
This talk will give insights into how Signals are implemented to make sure that they update correctly and no intermediate processing results are sent out.