React Docs
Static
Called immediately after a component is mounted. Setting state here will trigger re-rendering.
Deprecated
See
React Docs