Proxy observation mechanism in Aurelia 2

In this post @fkleuver writes something about an “Opt-In” feature in Aurelia 2 to improve the observation mechanism with the use of proxies. Does anyone have some more information about that? How do I change the default observation mechanism to use proxies instead of getters / setters? What are its advantages/disadvantages?

This may be a solution for the following restriction that we currently face:

The short answer is to use something like this{host, component, strategy: BindingStrategy.proxies}). Not sure if that helps your original issue though.

1 Like