You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: