Skip to content
Myr

If baseState is primitive or null, still check if value returned by producer is undefined - fix for #148

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Stefan Wille · committed by Stefan Wille · parent c2e74bb · Browse files · 1 file+6 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−3 removed

  • other:+6 added−3 removed

1 file+6 added−3 removed

modified:src/immer.js+6 added-3 removed