PatrickJS / NG6-starter

:ng: An AngularJS Starter repo for AngularJS + ES6 + Webpack
https://angularclass.github.io/NG6-starter
Apache License 2.0
1.91k stars 1.35k forks source link

Is there a simple example that mimics communication between sibling components? #247

Open josoroma-zz opened 6 years ago

josoroma-zz commented 6 years ago

Hi Hackers!

In order to make sense of the communication between components, I am looking for a simple example, one that mimics the old and problematic emit and broadcast communication but this time using ngrx.

For example:

On click event Component 1 sends an ID Param to the method of another component => Component 2, so Component 2 re-loads a listing table based on the ID Param previously sent by Component 1.

Thanks a bunch!