r/javascript • • Apr 16 '24

JavaScript Signals standard proposal

https://github.com/proposal-signals/proposal-signals
6 Upvotes

19 comments sorted by

View all comments

0

u/definitive_solutions Apr 16 '24

So we'd be finally getting a global state in JS? I hate feature creep in languages but frankly I think this is long overdue. It has my complete support 💪

1

u/fagnerbrack Apr 17 '24

Not a “global state” for everything but yeah for UI, sure. JS already has a global state for everything but not a structured access to it.

1

u/definitive_solutions Apr 17 '24

Yeah, it has global memory access, but not a coherent API to work it. You're correct. One usually has to roll out their own implementation and that's cumbersome.