📜  初始期间返回未定义的关键“书籍”的切片缩减器 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:09.756000             🧑  作者: Mango

代码示例1
const initialState = {};    // remove this line cuz we don't need it
const store = createStore(bookReducer, applyMiddleware(...middleware)); //fixed like this