Save Object.observe()! (please) + make WeakMap/WeakSet observable.

Matthew Robb matthewwrobb at
Thu Nov 5 18:11:23 UTC 2015

On Thu, Nov 5, 2015 at 12:49 PM, Tom Van Cutsem < at> wrote:

> O.o is a much safer alternative to Proxy.startTrapping and covers at least
> part of its use cases.


Okay so pretend all object's are really just proxies to whatever their
internal backing might be. In this scenario perhaps what we might want is
`Proxy.observeTraps` which should work just like Object.observe only
synchronously and without a baked in ability to intercede. One could,
however, respond to a set operation by resetting the old value. What this
does is give you something VERY close to a built in observable Model type
on top of plain objects.

- Matthew Robb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list