News for hackers. Stuff that matters.
Re:A proposal to add signals to JavaScript by explaininjs on Sunday March 31, 2024 @03:14PM (#39887138)
But then so are signals.

The only "benefit" signals as proposed here give you is less control over the exact dispatch pattern of the graph, for instance things like debouncing, throttling, batching, etc etc etc. Aka all the things you absolutely must have control over if you want to make something resembling a high performance application.

Re:A proposal to add signals to JavaScript by naasking on Sunday March 31, 2024 @03:25PM (#39887250)
Signals are not a subset of events. Signals combine event subscription with value construction, which promotes a remote declarative model for updates.

> The only "benefit" signals as proposed here give you is less control over the exact dispatch pattern of the graph, for instance things like debouncing, throttling, batching,

Events don't give you any more control over those properties than signals, they just require more boilerplate.