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
Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware
The text was updated successfully, but these errors were encountered:
const sagaMiddleware = createSagaMiddleware() const store = createStore( reducer, applyMiddleware(createSagaMiddleware(helloSaga)) ) sagaMiddleware.run(helloSaga)
Sorry, something went wrong.
改成下面这样就好了 const sagaMiddleware = createSagaMiddleware() const store = createStore( reducer, applyMiddleware(sagaMiddleware) ) sagaMiddleware.run(helloSaga)
改成下面这样就好了 const sagaMiddleware = createSagaMiddleware() const store = createStore( reducer, applyMiddleware(sagaMiddleware) ) sagaMiddleware.run(helloSaga) @astonishqft
不执行,最后一行改为sagaMiddleware.run(rootSaga)就可以了
sagaMiddleware.run(rootSaga)
No branches or pull requests
Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware
The text was updated successfully, but these errors were encountered: