尝试使用redux saga运行reduxdevtools:
出现此错误:
Error
Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware
这是我的jscode:
const store = createStore(
reducer,
applyMiddleware(sagaMiddleware),
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
);
如何使用saga运行此devtool?或者,否则会起作用吗?codepen