Experimental implementation of Object.observe & JS Utility library now available
brandon at brandonbenvie.com
Fri Aug 17 12:18:04 PDT 2012
I agree on the above with regard to Proxies. They are awesome and allow for
incredible things, but Object.observe fills a different use case that I
think is more common at at the user standpoint or at least library
standpoint. When you look around at the major JS libraries that exist the
problem they are trying to solve (after DOM normalization) is data-binding.
Proxy can be used to solve this for new objects or wrapped objects, but
that's overkill and may have performance consequences, and has no support
for working with existing objects. Proxy and observe end up filling two
completely different use-cases, and I would venture to say that observe is
the one that most people could make better use of if they had it in their
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss