This lesson summarizes everything the course has covered and how Angular 2, RxJS, and ngrx/store work together to achive a reactive application.
Best course on Egghead by far. Thank you, really enlightening!
With multiple reducer functions in reducers.ts, how does Redux know which reducer you're dispatching to when calling store.dispatch?
If I want to load something async and fire an action to ngrx at start and finish, is there an idiomatic way to do that with RxJS?
Angular 2's router seems to break the RxJS pattern established in this course. How do you mesh Angular 2 routing with RxJS?
With multiple reducer functions in reducers.ts, how does Redux know which reducer you're dispatching to when calling store.dispatch?
That's an interesting question. Can you answer that? It seems like that with every dispatch all of the reducers are being processed. Does that mean we cannot have 2 actions with the same name in different reducers (assume the case of a 3rd party plugin built with ngrx, that has the same action name as I've created in my own app)?
Awesome course! This type of course is why I subscribe to egghead.io! It integrates several different technologies in a single example building from the basics to the end result. I can look up reducers for free, angular2 for free, rxjs for free, but will easily (and do obviously!) pay for expertise that combines each together in a way that I can't easily look up myself. This saves me researching the different topics in isolation and then trying to combine them on my own without lots of trial and effort, and then adds expertise which I still wouldn't have if I tried to do all that myself! Great job.
This is a great combination of all recent things I've seen in the last year. Thank you sir!
Great course!!
This is a really critical question for me. Was this ever answered ?
It doesn't. The dispatcher calls each reducer with the same action payload. This is why it's important to have a unique type name if you don't want multiple reducers to process the dispatched action.
That's why we have const. This will error out if have the same name of the actions. There is one better solution, use Symbol from es6. :)
What about RxJS unit tests?