useReducer also lets you optimize performance for components that trigger deep updates because you can pass dispatch down instead of callbacks.
確定! 回上一頁