DEV Community

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

n_mehlhorn profile image
Nils Mehlhorn Author • Edited on

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