Thanks for this. With `componentWillMount` being removed, where should `setState` be called, if you want to for example always ensure that something like
isValid is set to false when the component mounts. componentDidMount wouldn’t be the correct place for that as it would render once incorrectly. Would you do it in `getDerivedStateFromProps` perhaps?