Skip to content

gabrielleecredera/react-memoization-hooks-performance-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Experiments on the Effectiveness of React's useMemo hook

This repository contains the code used to run the experiments as described in the blog post titled: "React: When should 'useMemo' and 'useCallback' be used, and when not, complete with experiments"

Setup

  1. clone the repository
  2. run npm install and npm run start
  3. navigate to the site, likely at localhost:3000
  4. using the UI, control the setup by modifying the scale and selecting to run the experiment with / without useMemo
  5. with the React Developer Tools browser addon's profiler function, run the experiment.

note: the data for the blog post was collected from a production build of this site

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published