The Wayback Machine - https://web.archive.org/web/20201023040715/https://github.com/alibaba/fish-redux/issues/701
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

跨页面dispatch存在bug #701

Open
luneice opened this issue Jul 15, 2020 · 3 comments
Open

跨页面dispatch存在bug #701

luneice opened this issue Jul 15, 2020 · 3 comments

Comments

@luneice
Copy link

@luneice luneice commented Jul 15, 2020

A页面在dispatch其他页面的reducer或effect都无法成功执行,但A页面dispatch自己的reducer或effect时可以成功执行.

@luneice
Copy link
Author

@luneice luneice commented Jul 15, 2020

A页面在dispatch其他页面的reducer或effect都无法成功执行,但A页面dispatch自己的reducer或effect时可以成功执行.

不知道是我的方式不对还是啥,我是在B页面的view中直接dispatch A页面的reducer或effect,单步调试时并未执行成功.

@fuhao012
Copy link

@fuhao012 fuhao012 commented Jul 20, 2020

dispatch其他页面的reducer或effect都无法成功执行 要通过brocast 来执行

@CNAD666
Copy link

@CNAD666 CNAD666 commented Sep 5, 2020

跨页面用广播broadcast就行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.