const [state, dispatch] = useReducer(reducer, initialArg, init);. An alternative to useState . Accepts a reducer of type (state, action) => newState , and ...
確定! 回上一頁