Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/fanesz/react-state-management
- Owner: fanesz
- Created: 2023-12-27T09:41:20.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-30T05:50:34.000Z (about 1 year ago)
- Last Synced: 2023-12-31T06:42:23.144Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 113 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.