Skip to content
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.

Listeners are not vue instance specific #19

Open
aarondfrancis opened this issue Oct 14, 2017 · 0 comments
Open

Listeners are not vue instance specific #19

aarondfrancis opened this issue Oct 14, 2017 · 0 comments
Labels

Comments

@aarondfrancis
Copy link
Owner

aarondfrancis commented Oct 14, 2017

In the situation where there are multiple, identical components on the page each registering event listeners, the listeners are not instance specific.

For example, if there is a list of comment components and each component has a model listener for comment.update.success then whenever any model fires that event, every component hears it. This may be desired behavior in some cases, but not in others.

I think the default should be instance-specific, and global listeners should be added differently.

Thoughts?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant