drcmda / immer-wieder

✨ React 16 context wrap with redux semantics powered by immer
MIT License
166 stars 9 forks source link

fix(setState/getState): avoid unmounted setState #6

Closed giannif closed 5 years ago

giannif commented 5 years ago

You can setState before mounted, just not after unmounted.

Fixes issue #4

drcmda commented 5 years ago

Thanks, made a patch release