Deep freeze any objects loaded from state modules (in dev mode)
Closed this issue · 1 comments
aleclarson commented
Due to HMR, mutating objects provided by state modules is a no-no, since those objects are not reset when HMR causes a mutation to repeat more than was expected.
aleclarson commented
Fixed in next
branch
Instead of deep freezing, we do a deep copy on access (see 190f795).