Hacker News new | ask | show | jobs
by jimmyspice 2234 days ago
where can I read more about SDx? never heard of that term before
1 comments

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

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