 [getDerivedStateFromProps()](https://reactjs.org/docs/react-component.html#static-getderivedstatefromprops) looks like it can replace the use of `componentWillReceiveProps()` here
getDerivedStateFromProps() looks like it can replace the use of
componentWillReceiveProps()here