mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-09-24 15:00:31 +08:00
Add resources to useReducer (#6372)
This commit is contained in:
@@ -1 +1,9 @@
|
||||
# useReducer
|
||||
|
||||
useReducer: An alternative to useState. Accepts a reducer of type (state, action) => newState, and returns the current state paired with a dispatch method. (If you’re familiar with Redux, you already know how this works.)
|
||||
|
||||
Learn more from the following resources:
|
||||
|
||||
- [@official@useReducer Docs](https://react.dev/reference/react/useReducer)
|
||||
- [@article@The React useReducer Hook](https://www.telerik.com/blogs/react-usereducer-hook)
|
||||
- [@article@A guide to the React useReducer Hook](https://blog.logrocket.com/react-usereducer-hook-ultimate-guide/)
|
||||
|
||||
Reference in New Issue
Block a user