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
hands today.
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to