Skip to content
New issue

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

引入redux-saga报错 #959

Closed
yangbin1994 opened this issue Feb 17, 2018 · 11 comments
Closed

引入redux-saga报错 #959

yangbin1994 opened this issue Feb 17, 2018 · 11 comments

Comments

@yangbin1994
Copy link

import { call, put, takeEvery, takeLatest } from "redux-saga/lib/effects";
Maximum call stack size exceeded
@cuijiemmx
Copy link

同样遇到此问题

@shenqihui
Copy link
Contributor

我也遇到了。

@shenqihui
Copy link
Contributor

#521 这个 issue 有临时解决方案。

@kala888
Copy link
Contributor

kala888 commented Mar 3, 2018

@yangbin1994 能否提供一下wepy如何集成和使用saga的例子啊

@cuijiemmx
Copy link

cuijiemmx commented Mar 3, 2018

@kala888 https://github.com/redux-saga/redux-saga/tree/master/dist
这下面的两个js任选一个copy到项目中引用就行了

@Gcaufy
Copy link
Collaborator

Gcaufy commented Mar 5, 2018

使用dist的文件

@Gcaufy Gcaufy closed this as completed Mar 5, 2018
@2534290808
Copy link

我也遇到这个问题

@kala888
Copy link
Contributor

kala888 commented Apr 10, 2018

@2534290808
image

@YufJi
Copy link

YufJi commented Jun 28, 2018

import createSagaMiddleware from 'redux-saga/dist/redux-saga';
import { effects } from 'redux-saga/dist/redux-saga';
const { call, put, takeLatest } = effects;

附demo:
https://github.com/YufJi/WepyWithSaga

@Gcaufy
Copy link
Collaborator

Gcaufy commented Jun 29, 2018

@YufJi
所以你这个是有问题的demo还是没有问题的demo

@YufJi
Copy link

YufJi commented Jun 29, 2018

没问题的demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants