createSlice. 上面的代码我们看到是用 combineReducers 来组装大reducer 的,前文也说过todos, filter, loading 其实都是各自的slice,redux-toolkit ...
確定! 回上一頁