Closed janczizikow closed 4 years ago
Thanks @janczizikow, I'm going to clear up the rest of the PRs before I get to this one, but I will get to it!
I've tested and this is good. I'm just in the process of reaching out to a few of the major dependents of this repo to let them know we have a breaking change coming.
Fixes #167
Replaced
componentWillReceiveProps
lifecycle method withgetDerivedStateFromProps
andcomponentDidUpdate
. This is a breaking change asgetDerivedStateFromProps
was added in react 16.3.0. I updated package.json peerDependencies to reflect that.