React TL;DR – a human filter for most useful tech content.

All posts

React Pure Components

  • React uses Pure Components to provide optimizations and for performance enhancement.
  • React component is considered a Pure Component if it renders the same output for the same state and props value.
  • Pure Functions have a huge performance impact during execution on Browser.
  • Pure Components take care of shouldComponentUpdate by itself, it does the shallow comparison on the state and props data.