Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.12 KB

File metadata and controls

20 lines (14 loc) · 1.12 KB

react-prevent-rerender-component

Build Status Slack Greenkeeper badge

An application showcasing how to prevent a rerender of a React component with shouldComponentUpdate or PureComponent in React. It is used for performance optimizations in update lifecycles (e.g. render). Read more about it.

Features

  • performance optimization
  • React's shouldComponentUpdate
  • React's PureComponent
  • recompose's pure

Installation

  • git clone [email protected]:the-road-to-learn-react/react-prevent-rerender-component.git
  • cd react-prevent-rerender-component
  • npm install
  • npm start
  • visit http://localhost:3000