Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sudhilraj/context-tutorial
A repository created while learning Context API in React - useContext with useReducer
https://github.com/sudhilraj/context-tutorial
context-api reactjs usecontext-hook usereducer-hooks
Last synced: 9 days ago
JSON representation
A repository created while learning Context API in React - useContext with useReducer
- Host: GitHub
- URL: https://github.com/sudhilraj/context-tutorial
- Owner: SudhilRaj
- License: mit
- Created: 2021-11-09T11:26:08.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-30T12:47:30.000Z (7 months ago)
- Last Synced: 2024-05-02T08:11:07.634Z (7 months ago)
- Topics: context-api, reactjs, usecontext-hook, usereducer-hooks
- Language: JavaScript
- Homepage:
- Size: 225 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# useContext with useReducer
React's Context API simplifies state management by providing a centralized way to share data across components. With useContext and useReducer hooks, you can effortlessly access and update shared state within your application. Whether you're managing global themes, user authentication, or complex application states, React's Context API paired with useContext and useReducer makes state management a breeze.
- Refer the source code for the context API setup in React.