class ThrowErr extends Component {
        static getDerivedStateFromProps () {
          throw new Error('Error during getDerivedStateFromProps!')
        }
        render () {