Skip to content

nkhil/local-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏪 Local store

👉 Visit the app

⚙️ Setup

git clone https://github.com/nkhil/local-store.git
cd local-store
npm install
npm run dev

💾 Managing state without Redux

This was my first time playing around with managing state in React without prop drilling.

I was experimenting using React's useReducer along with the useContext API to manage state throughout the app. This is also the first time I've tried to save state in localStorage in a react project.

This repository was built trying out ideas from Cassidy William's Pluralsight webinar. You can find their original repo here.

About

Playing around with React's useContext and useReducer API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published