4 ms·
In fact I solved a similar issue in my JS reactive micro library in just 500 bytes: https://github.com/jbreckmckye/trkl https://github.com/jbreckmckye/trkl
by zero_shift 2y ago
In fact I solved a similar issue in my JS reactive micro library in just 500 bytes: https://github.com/jbreckmckye/trkl https://github.com/jbreckmckye/trkl
- briantakita 2y agoI 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 https://github.com/ctx-core/rmemo Nanostores is also small https://github.com/nanostores/nanostores 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/ https://vanjs.org/
- rrr_oh_man 2y agoThat looks great! Thanks for sharing!