Open ifdion opened 6 years ago
Since componentWillMount() componentWillUpdate() and componentWillReceiveProps are now considered legacy in React v.16.6.0, they should be renamed to UNSAFE_componentWillMount() UNSAFE_componentWillUpdate() and UNSAFE_componentWillReceiveProps.
componentWillMount()
componentWillUpdate()
componentWillReceiveProps
UNSAFE_componentWillMount()
UNSAFE_componentWillUpdate()
UNSAFE_componentWillReceiveProps
Since
componentWillMount()
componentWillUpdate()
andcomponentWillReceiveProps
are now considered legacy in React v.16.6.0, they should be renamed toUNSAFE_componentWillMount()
UNSAFE_componentWillUpdate()
andUNSAFE_componentWillReceiveProps
.