logoalt Hacker News

bedroom_jabroniyesterday at 9:36 PM3 repliesview on HN

There are many standalone plug-n-play implementations of the signal primitive in JS. To name a few: preact/signals, vue reactivity, etc, there's even a TC39 proposal for a lang feature. Is this meant to stand out by doing things differently or reinvent them?


Replies

royal_tstoday at 9:22 AM

The TC39 proposal seems pretty much dead :(; it doesn't look like much is happening. If I understand it correctly, it's really just about agreeing on a protocol, and it's ultimately up to frameworks to implement it, there isn't anything (yet?) that can run directly in JavaScript.

nxobjecttoday at 12:25 AM

(Just for (my) reference, the TC39 proposal is here:

https://github.com/tc39/proposal-signals)

bosmarcelyesterday at 9:40 PM

Honestly, mostly for the fun of building it and seeing how small and simple I could make it. While big solutions like Preact or Vue are great, sometimes you just want a tiny zero-dependency script without the overhead. And it turned out to be quite nice as I may say so

show 2 replies