Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Decide on and Implement a Immutable Library to Prevent Modifying Existing State #386

Open
lalexgap opened this issue Apr 18, 2019 · 0 comments

Comments

@lalexgap
Copy link
Collaborator

Currently we rely on convention to make sure we don't modify existing state objects in reducers. If we do this by accident we can possibly cause painful to debug issues.

We should probably use a library that ensures the existing state is immutable. Redux has a list here:
https://github.com/markerikson/redux-ecosystem-links/blob/master/immutable-data.md#immutable-update-utilities

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