Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update UsingObjectSpreadOperator.md (#3367)
I think this warning on using the Object spread operator to clone objects is important. While, good style would encourage the use of flat objects in the reducer, not everyone is going to do that. Using the spread syntax in a reducer on a multidimensional data structure is opening up the door to state mutation.
- Loading branch information