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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy