alibaba / fish-redux

An assembled flutter application framework.
https://github.com/alibaba/fish-redux
Apache License 2.0
7.33k stars 843 forks source link

Page如何调用自己的Component的reducer进行修改数据? #640

Open suo801 opened 4 years ago

suo801 commented 4 years ago

第一种方法是通过connector,可行。 但是我更希望直接调用component的action,去更新数据state。目前行不通。

如果Component的effect和reducer都实现action。则会报错:stackflow.

dddrop commented 4 years ago

可以试试 broadcast 。