DEV Community

Discussion on: How NgRx Store & Effects Work: 20 LoC Re-Implementation

Collapse
 
n_mehlhorn profile image
Nils Mehlhorn • Edited

Nice! I also thought about composing the state observable out of the action observable, however, the actual NgRx triggers effects after state transitions. That's why I'm using two separate subjects here :)

EDIT: oops, looks like this is also the case for your implementation, thanks for reaching out