extend react.component

JavaScript
componentDidUpdate(prevProps, prevState, snapshot)
Source

Also in JavaScript: