2

The following example shows how to develop a master-detail component in Angular2. Can we achieve the same component communication using Event Aggregator pattern? Using an Event Aggregator can save many bindings.

Martin Flower describes Event Aggregator pattern here. This is being used in Aurelia also.

Community
  • 1
  • 1
wonderful world
  • 10,969
  • 20
  • 97
  • 194
  • I can't believe noone hasn't really done anything about this problem in Angular2, I'm coming from .NET world and it's frustrating to see it missing!! – Christo S. Christov Apr 22 '17 at 21:38
  • The question was asked in 2015, so a lot has changed now in the world of Angular2. The path Angular2 has taken is to use ```RxJS```. The communication between components can be achieved with ```Observable```. – wonderful world Apr 23 '17 at 00:24

0 Answers0