Managing state without Redux


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

You can see the simple, responsive app here: (Note: the basket icon is clickable, and will take you to the basket screen).

The code can be found here.

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.

Thanks to Cassidy William's Pluralsight webinar. Her original code can be found here.

The source code for this website can be found here under an MIT license