useReducer. Notes: useReducer may be used as an alternative to useState. Call signature: const [state, dispatch] = useReducer(reducer, initialState, ...
確定! 回上一頁