Unlike React.Component, a React.PureComponent will only re-render when there’s a change in the state or props of the component. It performs a shallow comparison to detect changes. You can leverage this behavior using immutable data structures in the state that changes reference whenever its contents are changed.