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

how can I get new params from didUpdateWidget lifecycle #632

Open CoolBerry opened 4 years ago

CoolBerry commented 4 years ago

PageA is used by pageB. When pageB changed the params of pageA, how can I get the new params in pageA lifecycle. I found that in this situation pageA will never do initState, maybe didUpdateWidget is the only lifecycle.

Thanks a lot.