4 ms·
Proxies are awesome. I used them to create observables that automatically publish on any mutation, no matter where in the object tree it happens: https://www.np
by _bxg1 9y ago
Proxies are awesome. I used them to create observables that automatically publish on any mutation, no matter where in the object tree it happens:
https://www.npmjs.com/package/mutable-model https://www.npmjs.com/package/mutable-model
- alessioalex 9y agoCool stuff, I made a more general use library that notifies you of any chance on an object property, no matter how nested it is: https://github.com/alessioalex/recursive-object-proxy https://github.com/alessioalex/recursive-object-proxy