Skip to content

Create withProxy mixin #1

@tgvashworth

Description

@tgvashworth

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions