May 17, 2023
You can use effect() (https://angular.io/api/core/effect) to register a side-effect or computed() (https://angular.io/api/core/computed) if you want to compute a new Signal value out of that counter.
You can use effect() (https://angular.io/api/core/effect) to register a side-effect or computed() (https://angular.io/api/core/computed) if you want to compute a new Signal value out of that counter.
Google Developer Expert in Angular, Consultant and Trainer at http://www.angulartraining.com