Skip to content

Commit 0ecc515

Browse files
mtpetrostimdorr
authored andcommitted
Update UsingObjectSpreadOperator.md (reduxjs#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. Former-commit-id: 4430ae5 Former-commit-id: 63bf180
1 parent d65cfc1 commit 0ecc515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a13c90e29c138f000148d12fcd878eefba704c91
1+
cb129f33158f8a02f2b0ec72511faf3da73a1a37

0 commit comments

Comments
 (0)