Hacker News new | ask | show | jobs
by anilgulecha 3230 days ago
I get his point -- javascript object observation has been a pain, and causes the stated workaround.s

With new API like Proxy [1], we should not be able to just modify data as needed, and any observers can be notified by handlers in the object get/set. This will lead to data being fully mutable.

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

1 comments

The Proxy API is how dot-dom[0] implements a React-like component API

[0]: https://github.com/wavesoft/dot-dom