3 ms·
Very similar model to MobX. Main difference seems to be that deep accesses/mutations aren't (?) tracked, which is unfortunate. But it does mean there's a little
by brundolf 4y ago
Very similar model to MobX. Main difference seems to be that deep accesses/mutations aren't (?) tracked, which is unfortunate. But it does mean there's a little less magic going on. In any case, I'm glad to see more people doing this style of reactivity
- stanislavb 4y agoI guess it's similar to this MobX :)? https://github.com/mobxjs/mobx https://github.com/mobxjs/mobx
- fabiospampinato 4y agoDeep reactivity can be implemented on top of the provided functions, I have a version of that for Preact that doesn't seem super broken here: https://codesandbox.io/s/sparkling-cherry-bn9bu5?file=/src/index.js https://codesandbox.io/s/sparkling-cherry-bn9bu5?file=/src/i...