News for hackers. Stuff that matters.
Re:A proposal to add signals to JavaScript by zaphar on Sunday March 31, 2024 @09:24PM (#39889970)
I like signals as primitive but in this particular case they make it roughly about as easy to create loops accidentally as events do. I don't think this problem gets better or worse with signals.
Re:A proposal to add signals to JavaScript by naasking on Tuesday April 02, 2024 @12:33AM (#39902408)
Signals are a bit better because they only propagate when computed values actually changed. This is an implicit fixed point/stopping condition that doesn't intrinsically exist with events.