Add resources to useReducer (#6372)

pull/6360/head^2
Nazrul Islam 4 months ago committed by GitHub
parent 80eeadd6a6
commit 55dfae773b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      src/data/roadmaps/react/content/usereducer@v48Mv0wQqjXbvy8x6gDjQ.md

@ -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/)

Loading…
Cancel
Save