React Components:
-
Use
PureComponentinstead ofComponent. -
For stateless Components, wrap them with
React.memo()orRecompose.pure(). -
Break big Components into pieces, wrap static pieces (part that doesn't use props or state) with
React.memoorRecompose.pure, it shall avoid re-render as much as possible. -
Only Layout Components and Page Components are aware of store from Redux.