1
ReactIntermediate#hooks#context
A higher-order component that skips re-rendering a component when its props are shallowly equal to the previous props. It helps only when the component is expensive and its props are stable.
const Row = React.memo(function Row({ item }) {
return <li>{item.name}</li>;
});