Review of Angular 2, RxJS, and Reducers from ngrx/store

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

This lesson summarizes everything the course has covered and how Angular 2, RxJS, and ngrx/store work together to achive a reactive application.

Lars Rye Jeppesen
~ 8 years ago

Best course on Egghead by far. Thank you, really enlightening!

awormasi
~ 8 years ago

With multiple reducer functions in reducers.ts, how does Redux know which reducer you're dispatching to when calling store.dispatch?

John Jones
~ 8 years ago

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?

John Jones
~ 8 years ago

Angular 2's router seems to break the RxJS pattern established in this course. How do you mesh Angular 2 routing with RxJS?

Omer Koren
~ 8 years ago

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)?

Matt
~ 8 years ago

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.

mobility-team
~ 8 years ago

This is a great combination of all recent things I've seen in the last year. Thank you sir!

iUsemws
~ 8 years ago

Great course!!

DANIEL Pride
~ 7 years ago

This is a really critical question for me. Was this ever answered ?

Ashley Connor
~ 7 years ago

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.

Prasad
~ 7 years ago

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. :)

Cristian Alarcón Pieriz
~ 7 years ago

What about RxJS unit tests?