They say we can improve the performance of React app by using React.PureComponent in some cases, because it shallow compares its props before updating the component.
https://reactjs.org/docs/react-api.html#reactpurecomponent
On the other hand, react-redux's mapStateToProps uses shallow comparison when it decides whether we need to update the component.
https://redux.js.org/faq/reactredux#why-is-my-component-re-rendering-too-often
So, can I say I do not need React.PureComponent when its props are from react-redux connect, and it has no state? Or is there any difference between them?