Javascript – Angular: when should I use signals?
I am using signals in Angular 18 for small local states. But I don't understand why and when I should use them instead of a normal class member. Let's take a simple toggle: Example 1 @Component({...}) export class ToggleComponent {…