redux-saga-beginner-tutorial
redux-saga-beginner-tutorial copied to clipboard
Redux/Redux-saga beginner tutorial
话说中文文档不更新了吗?
There is something wrong in Chinese document > export function* watchIncrementAsync() { > yield* takeEvery('INCREMENT_ASYNC', incrementAsync) > } It should be > export function* watchIncrementAsync() { > yield takeEvery('INCREMENT_ASYNC', incrementAsync)...
remove `import { PropTypes } from 'react';` replace it by `import PropTypes from 'prop-types';` and so on ;)
please notice import 'all' from 'redux-saga/effects' sagas.js import { put, call, takeEvery } from 'redux-saga/effects' => import { put, call, takeEvery, all } from 'redux-saga/effects'
我看英文文档,关于 watchIncrementAsync 的注册,使用的 sagaMiddleware.run(watchIncrementAsync ),同时我使用 createSagaMiddleware(watchIncrementAsync ) 是无效的。 请问,是调用方法变更了吗?
babel-core version: * 6.4.0 to 6.25.0(latest)
When I clone this repo. I just run 'npm install'. but pop message below: - npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp...
Hi guys, I have implement redux-saga with type `INCREMENT_ASYNC`, but when I click on button `Increment after 1 second`, I received error message below:  Look like I have an...
1. Cloned the Repo 2. Went inside the folder 3. Did **npm install** 4. Did **npm start** Tried this on master and sagas branch, got the same error on both...
the tutorial : ```js const store = createStore( reducer, applyMiddleware(createSagaMiddleware(helloSaga)) ) ``` cause a error : middleware.js:27Uncaught Error: You passed a function to the Saga middleware. You are likely trying...