Re:A proposal to add signals to JavaScript
by jbreckmckye on Sunday March 31, 2024 @08:20PM
(#39889545)
In fact I solved a similar issue in my JS reactive micro library in just 500 bytes: https://github.com/jbreckmckye/trkl
[ Parent
| on HN ]
Re:A proposal to add signals to JavaScript
by briantakita on Sunday March 31, 2024 @09:47PM
(#39890106)
I was not aware of trkl. Well done! I wrote rmemo (Reactive Memo) which solves the same problems & is a similar size. Different semantics though.
https://github.com/ctx-core/rmemo
Nanostores is also small https://github.com/nanostores/nanostores.
And if you only need reactivity in the browser (not server side), VanJS is small & includes reactive primitives. https://vanjs.org/
Re:A proposal to add signals to JavaScript
by rrr_oh_man on Tuesday April 02, 2024 @01:07AM
(#39902575)
That looks great! Thanks for sharing!