From Inactive to Reactive with ngrx Brandon Roberts & Mike Ryan
Why Stack Overflow recommends it
Stack Overflow users link it when people ask what ngrx effects are for or how to structure Angular state, since it comes straight from the library's creators.
Recommended by 3 people across 2 different months, 2017 to 2017.
What it is
A conference talk from ng-conf 2017 in which ngrx authors Brandon Roberts and Mike Ryan walk through building reactive Angular apps with ngrx store and effects. It covers state management, typed actions, and how effects handle side effects.
What people said
Recommends maxime1992 · 2017-05 · Stack Overflow · on “Clone and then mutate approach in redux”
You might go this way. After all ... You'll respect the immutability contract needed by Redux architecture. But I wouldn't recommend you to do that. Deep cloning is not performant at all. The bigger is your store, the slower will be your app. Plus, to be honnest I tried this approach with a class : [LINK] And it's not so bad. But I ended up using a simple function. One thing tho, your actions here won't be typed so you will loose some benefits of Typescript. Instead of doing that, you should create a class per action, as explained in this talk [this video] Also, I've made an ngrx starter that might help you get started : [LINK]
Recommends trungvose · 2017-07 · Stack Overflow · on “What is the purpose of ngrx/effects library?”
I watched the video at [this video] from these creators of ngrx store and effects. The first time for me, where ngrx effects is explained correctly. So fellow please check it If you still need to wrap your head around.
Recommends JGFMK · 2017-07 · Stack Overflow · on “How can I dynamically filter an Angular observable for different views?”
I've just been watching a video on Youtube and thought it might be of interest to your scenario too. (ngRX) [this video] and here's the example [LINK]
Recommends JGFMK · 2017-07 · Stack Overflow · on “Angular 2 performance problems”
If it's relevant to you, have you already tried using *ngFor trackBy [LINK] ? I think you also might want to take a look at ngRx then. There's a good video on [this video] about it. Here's their sample project [LINK]
Cites Rip Ryness · 2017-10 · Stack Overflow · on “How can i target a click event to another component in Angular 2”
Devin's answer below is one way to do this. Depending on how complex your app is though you may want to check out ngRx which is a more complex solution to this problem but solves many others as well. [this video]