React.PureComponent

React.PureComponent

React.PureComponent — Is similar to React.Component but React.Component doesn’t implement shouldComponentUpdate() while React.PureComponent implements it with a shallow prop and state comparison.

React.PureComponent — Structure map

Clickable & Draggable!

React.PureComponent — Related pages: