Reduce multiple places to listen for events into one single place #155
jankapunkt
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We can currently attach event listeners to multiple places:
Some events bubble through these structures as they come from levels deeper. The question is: is this too complicated? Can we abstract this into once event target which we can listen on from the outside? Does this even make sense?
On the contrary: we will have to rewrite lots of things to
async/await
to be isomorphic with Meteor 3, so there might be even some events that will be deprecated soon.We should collect them as well in order to prepare the works on this.
Edit: there are also internal direct usages of EventEmitter vs. Data.notify which is a mixed design that easily leads to confusion. We should move towards a unified solution that keeps being comprehensible
Beta Was this translation helpful? Give feedback.
All reactions