BeTomorrow / micro-observables

A simple Observable library that can be used for easy state management in React applications.
MIT License
105 stars 9 forks source link

es6 proxies #6

Closed pkieltyka closed 4 years ago

pkieltyka commented 4 years ago

Hi there,

Just wondering on your thoughts for an es6 proxies version of this library?

browser support is decent. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy

simontreny commented 4 years ago

ES6 proxies is a powerful tool, but it adds "implicitness" in your code and I personally think it leads to code that is harder to understand and debug. If you are interested by this approach, you can have a look to MobX that is entirely built on proxies.