Think the one thing missing in this one, would be the “regular signal()”, like you point to in the left branch “just read”. State but can’t be derived, no side effect outside reactive world, just “signal()”.
Every state should be "derivable" (what's the word for this?). When I create a writable signal, I have to write it somewhere. And then the problems start, because I can't know where it will be mutated.
I have ideas for APIs like "viewChild": "viewChildEvent"
To derive from events.
The easiest explanation I came up with, was "it's like manual subscribe of observables. You only use that if there's no other way, e.g. bridging different (reactive) systems."
On the other hand you made a great job in creating the whole signal system of Angular.
Well done!
Comments
I have ideas for APIs like "viewChild": "viewChildEvent"
To derive from events.
On the other hand you made a great job in creating the whole signal system of Angular.
Well done!