We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've updated to typed-redux-saga recently. Prior to this I was using redux-saga.
Saga middleware create with redux-saga looks as follows
import { applyMiddleware, compose, createStore } from "redux"; import createSagaMiddleware from "redux-saga"; import rootReducer from "../reducer"; import rootSaga from "../sagas"; declare global { interface window { __REDUX_DEVTOOLS_EXTENSION_COMPOSE__?: typeof compose; } } const reduxDevTools = (window as any).__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose; const sagaMiddleware = createSagaMiddleware(); const store = createStore( rootReducer, reduxDevTools(applyMiddleware(sagaMiddleware)) ); sagaMiddleware.run(rootSaga); export default store;
My question is do I still need to use above way of creating saga middleware from redux-saga or it should be from typed-redux-saga?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've updated to typed-redux-saga recently. Prior to this I was using redux-saga.
Saga middleware create with redux-saga looks as follows
My question is do I still need to use above way of creating saga middleware from redux-saga or it should be from typed-redux-saga?
The text was updated successfully, but these errors were encountered: