useReducer is an alternative to useState · It takes a reducer as an argument · Example of reducer using arrow function (state, action) => newState · reducer ...
確定! 回上一頁