News for hackers. Stuff that matters.
Re:A proposal to add signals to JavaScript by imbnwa on Sunday March 31, 2024 @10:00PM (#39890175)
Remember the Observable proposal?
Re:A proposal to add signals to JavaScript by tengbretson on Sunday March 31, 2024 @10:06PM (#39890210)
The Observable proposal made a stronger case in my opinion, since Observables provide an interface that is functionally unique and useful for the boundaries between app logic and libraries, so a single standard approach has benefits. Signals on the other hand live right where application state binds to the ui. Is this really somewhere that people are patching together a hodge podge of libraries that need to use a consistent api? I'm not so sure.
Re:A proposal to add signals to JavaScript by Offler on Monday April 01, 2024 @07:38AM (#39893036)
Signals are used in every framework except React. Observables weren't. That's a huge difference.
Re:A proposal to add signals to JavaScript by Sammi on Monday April 01, 2024 @06:47PM (#39900303)
There's the old one that fizzled out: https://github.com/tc39/proposal-observable

And there's the new one which seems to be getting implemented in node right now: https://github.com/WICG/observable