Preventing useless updates with `React.PureComponent` and `React.memo`
A word of advice
In some cases you're better off not using pure components. Pure component caveats goes through some of them.
In some cases you're better off not using pure components. Pure component caveats goes through some of them.