Skip to content

lastunicorn/use-memo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Sponsor this project

Contributors