Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react/20220929/2239393703/ #51

Open
utterances-bot opened this issue Aug 12, 2024 · 1 comment
Open

react/20220929/2239393703/ #51

utterances-bot opened this issue Aug 12, 2024 · 1 comment

Comments

@utterances-bot
Copy link

終究都要學 React 何不現在學呢? - React 進階 - useReducer - (15) | 是 Ray 不是 Array

接著我們要來認識一個很特別的東西,也就是 useReducer,而 useReducer 可以說是 useState 的進階版,因為 useReducer 可以讓我們在處理複雜的狀態時,可以更好的管理狀態,而不是像 useState 一樣,只能用一個變數來管理狀態。

https://israynotarray.com/react/20220929/2239393703/

Copy link

"目前為止,你的 useReducer 就已經可以正常操作了" 上方的codepen
(118) React useReducer 和 (117) React useReducer 一樣,少改會動的reducer 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants