Chrome Extension for Redux-Saga Devtools
- Install the extension from the Chrome marketplace
- When creating your saga middlware, pass the extension monitor to the middleware as an option
const monitor = window["__SAGA_MONITOR_EXTENSION__"]
const sagaMiddleware = createSagaMiddleware({ sagaMonitor: monitor })
const store = createStore(
rootReducer,
applyMiddleware(sagaMiddleware)
)
sagaMiddleware.run(rootSaga)
- Open the Chrome DevTools and inspect your Sagas