Skip to content
lastunicornPublic

About

Demo using the `useMemo` hook in React that shows how an expensive calculation (in this case a filtering) is memoized and not executed each time the component renders. It is executed only when the values used by the calculation are changed.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React useMemo Demo

Overview

Demo using the useMemo hook in React that shows how an expensive calculation (in this case a filtering) is memoized and not executed each time the component renders. It is executed only when the values used by the calculation are changed.

Tutorial

See the Tutorial for more details.

About

Demo using the `useMemo` hook in React that shows how an expensive calculation (in this case a filtering) is memoized and not executed each time the component renders. It is executed only when the values used by the calculation are changed.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Sponsor this project

Contributors

Languages