Skip to content

the-road-to-learn-react/react-prevent-rerender-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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

About

Showcasing when and how to prevent a rerender of a component in React

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published