Hacker News new | ask | show | jobs
by seph-reed 2234 days ago
EDIT: I made a really simple demo of SDx. It's missing all of the features for nicer syntax, better performance (derivation batching), and garbage collection features (avoiding direct references). You also can't run derivers inside of derivers. But it gets the idea across.

https://codepen.io/SephReed/pen/gOaeQLv?editors=1010

--------

I made it up, but MobX has some rudimentary implementations of it:

https://mobx.js.org/README.html

1 comments

Thanks, that's a pretty cool demo with almost no code. Seems like a lightweight observable as you say.