這個做法解決了透過Props 傳遞資料時常常會經過太多層,且讓不需要該資料的Component 也都擁有的狀況。 useReducer. 對使用過Redux 的讀者來說, Reducer ...
確定! 回上一頁