16.x release componentWillReceiveProps(nextProps){} // UNSAFE_ introduced in React 16.3 and will be available till 17.0 UNSAFE_componentWillReceiveProps(nextProps){} // instead use… static getDerivedStateFromProps(nextprops,prevState){}
16.x release componentWillReceiveProps(nextProps){} // UNSAFE_ introduced in React 16.3 and will be available till 17.0 UNSAFE_componentWillReceiveProps(nextProps){} // instead use… static getDerivedStateFromProps(nextprops,prevState){}
16.x release componentWillReceiveProps(nextProps){} // UNSAFE_ introduced in React 16.3 and will be available till 17.0 UNSAFE_componentWillReceiveProps(nextProps){} // instead use… static getDerivedStateFromProps(nextprops,prevState){}