Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.

Unexpected state mutation in reducers #60

Open
DerekSchmid opened this issue Oct 12, 2018 · 0 comments
Open

Unexpected state mutation in reducers #60

DerekSchmid opened this issue Oct 12, 2018 · 0 comments

Comments

@DerekSchmid
Copy link

I have created a sample project that demonstrates an issue I have encountered in one work projects. I am using a meta-reducer in order to reset the store state. The expected result is to have the initial state set, but one of the boolean values in the state is unexpectedly flipped.

I provided a nearly identical second store with the traditional ngrx implementation of the reducer and this problem does not exist. I have been looking for a solution, but have not had luck.

Here is the project: https://github.com/DerekSchmid/ngrx-actions-bug

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant