You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
Hello!
I have a component that uses
withState
like so:Having upgraded to recompose 0.26.0 and React 16.2.0, i'm getting an error here
https://github.com/acdlite/recompose/blob/master/src/packages/recompose/withState.js#L21
Where my app is destructuring stateValue, but in the case I'm experiencing
prevState
is null!does React guarantee prevState as an object?
Any ideas?
The text was updated successfully, but these errors were encountered: