Prevent infinite loop of rendering on error
Prevent infinite loop of rendering on error

Cancels shouldComponentUpdate if the state had an error and still has one.
gaearon/react-hot-loader,gaearon/react-hot-loader