-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Description
So I was wondering about this ... and it's more a question of curiosity than me spotting a problem but ...
We will provide a compatibility version of the observer package that will implement the 2.0 Reactivity system (getters&setters) that people can use for browsers that don't support Proxy (read: IE).
However, also heavily rely on Proxy in the runtime-core (componentProxy.ts)
With this implementation, we don't have to actually add properties to the component instance for each prop and $data property, computed property and so on. We can just catch get and set access in the component's proxy.
But for a compatibility build, we would have to replace this behaviour with code that dpoes add getters & setters to the component instance, right?
In the current implementtion I don't see a clean / easy way to exchange this like we plan to have it for the observer package, do we (@evan) have a plan for how to approach it?