Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fanesz/react-state-management

A basic app that fetching public API with react reducer and context as state management.
https://github.com/fanesz/react-state-management

Last synced: about 2 months ago
JSON representation

A basic app that fetching public API with react reducer and context as state management.

Awesome Lists containing this project

README

        

A simple product displayer app using https://fakestoreapi.com/ free API but focused on state management.

There is 3 branch in this repo:
- [normal-state-management](https://github.com/fanesz/react-state-management/tree/normal-state-management) - Feched data management using basic useState, and data filter using zustand.
- [useReducer-zustand](https://github.com/fanesz/react-state-management/tree/useReducer-zustand) - Fetched data management using useReducer from react, and data filter using zustand.
- [master](https://github.com/fanesz/react-state-management) - Fetched data and filter state management using useReducer and useContext, then provided with Provider so every data can be access by the child component without passing it by the props.