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.
- performance optimization
- React's shouldComponentUpdate
- React's PureComponent
- recompose's pure
git clone git@github.com:the-road-to-learn-react/react-prevent-rerender-component.git
- cd react-prevent-rerender-component
- npm install
- npm start
- visit
http://localhost:3000