Re:Angular v16
by vulcanash999 on Thursday May 04, 2023 @02:12AM
(#35811773)
I agree, it probably should have been `effect(() => console.log('Name changed:', this.fullName()));`
That makes more sense given the context.
But the text says "We also declare an effect, which callback will execute every time we change the value of any of the signals it reads — in this case fullName"
Surely fullName is not involved at all?