2 ms·
Why? Please share your experiences. I don't understand what's the utility of event emitters if not for serving as glue to all the separate components of an app.
by fiatjaf 13y ago
Why? Please share your experiences. I don't understand what's the utility of event emitters if not for serving as glue to all the separate components of an app. Am I wrong?
- marknutter 13y agoYou're not wrong. It's definitely one way to solve it. I just find it harder to jump into a project with heavy reliance on global events and be able to quickly understand what's going on. It gets even harder if you have events firing other events.
- ninkendo 13y ago> I just find it harder to jump into a project with heavy reliance on global events Harder than what?
- marknutter 13y agoHarder than the way that it is done in Angular, via services.