The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

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

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

3:38
This lesson summarizes everything the course has covered and how Angular 2, RxJS, and ngrx/store work together to achive a reactive application.
Watch this lesson now
Avatar
egghead.io

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

Avatar
Lars Rye Jeppesen

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

Avatar
awormasi

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

Avatar
John Christopher Jones

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?

Avatar
John Christopher Jones

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

Avatar
Yonatan

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

In reply to awormasi
Avatar
Matt

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.

Avatar
mobility-team

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

Avatar
iUsemws

Great course!!

Avatar
DANIEL

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

In reply to John Christopher Jones
Avatar
DANIEL

Just a note, your use of the term state in this case seems off, to me state means the state of the record like prisitne or dirty or new record or record in a state of being modified.

In reply to egghead.io
Avatar
Ashley Connor

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.

In reply to awormasi
Avatar
Prasad

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

In reply to Yonatan
Avatar
Cristian Alarcón Pieriz

What about RxJS unit tests?

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?