Pure Component - jellyfish-tom/TIL GitHub Wiki

React.PureComponent

React.PureComponent is similar to React.Component.

The difference between them is that React.Component doesn’t implement shouldComponentUpdate(), but React.PureComponent implements it with a shallow prop and state comparison.