Flight v2 will remove event proxying from core, so this functionality needs to be replaced by a mixin.
There are a couple of possible APIs:
this.(un)proxy which would entirely separate proxying from the normal event-binding flow. This is preferential in my opinion but isn't backward compatible.
- wrap
this.on (and this.off) to intercept proxy-looking arguments. This isn't a good solution because of the complexity in getting the Flight registry to behave correctly in teardown situations.
Flight v2 will remove event proxying from core, so this functionality needs to be replaced by a mixin.
There are a couple of possible APIs:
this.(un)proxywhich would entirely separate proxying from the normal event-binding flow. This is preferential in my opinion but isn't backward compatible.this.on(andthis.off) to intercept proxy-looking arguments. This isn't a good solution because of the complexity in getting the Flight registry to behave correctly in teardown situations.