createSlice returns reducer, actions and name objects. This reducer can be added to the combineReducers . So we get rid of switch case block ...
確定! 回上一頁