Examples and Documentation for React
constructor
static getDerivedStateFromProps
A regular component does not implement the shouldComponentUpdate method. It always returns true by default.
A pure component implements shouldComponentUpdate with a shallow props and state comparison.
The term “render prop” refers to a technique for sharing code between components using a prop whose value is a function.
Context provides a way to pass data throught the component tree without having to pass props down manually at every level.