KaleoSoftware / tape-redux

MIT License
71 stars 2 forks source link

No need to deep-freeze stateAfter, deep-freeze action instead #2

Open mayankchd opened 8 years ago

mayankchd commented 8 years ago

To make sure reducer is a pure function we need to deepFreeze the stateBefore and action, freezing stateAfter is not required.

tuckerconnelly commented 8 years ago

Yo! Haven't used this lib in a while, so probably won't make this change any time soon, but would accept a PR :)