Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 602 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 602 Bytes

React State Managers

This project explores different state managers for React and compares their performance. The state managers included in this project are:

  • React Context API
  • use-context-selector
  • Zustand
  • Zustand with Context

The goal is to use React Dev Tools to inspect how renders occur with each state manager and evaluate their performance.

Here is the project running, highlighting the components that re-render:

Animation

Render duration:

Render duration

Installation

yarn

Run

yarn dev