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

Taro3 似乎不支持 #14

Open
cmzz opened this issue Oct 18, 2020 · 2 comments
Open

Taro3 似乎不支持 #14

cmzz opened this issue Oct 18, 2020 · 2 comments

Comments

@cmzz
Copy link

cmzz commented Oct 18, 2020

Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

在taro3中似乎有循环setState的问题

@cmzz
Copy link
Author

cmzz commented Oct 18, 2020

如果使用shouldupdatecomponent组织更新, mobx则无法兼容

@cmzz
Copy link
Author

cmzz commented Oct 18, 2020

使用mobx代替state? 倒是可以尝试一下

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

1 participant