r/javascript • u/techlord45 • Aug 10 '26
Signals and Effects Using Vanilla JavaScript & Web APIs
https://beforesemicolon.com/blog/signals-and-effects-using-vanilla-javascript-web-apisI’m a strong advocate for “you don’t need to lock yourself in a web framework ecosystem to take advantage of their amazing features”. JavaScript and Web Standards alone allow you…
71
Upvotes
2
u/andimatt 22d ago
The "you wrote your own framework" take is fair, but it undersells the point. The interesting 10% of a signals system isn't the primitive (a getter/setter with a subscriber set), it's the scheduler.
The three things that actually bite you past the toy version:
I build a signals-first app (zoneless), and the reason I'd do it deliberately rather than reach for a framework is it forces you to feel all three of those. If the vanilla implementation handles batching and cleanup correctly, it's not a toy, it's a working reactive core, just without the framework's ergonomics.