Home
Sign Up
Sign In
V2EX
›
问与答
请教一个 redux 的问题
BigDogWang
·
Mar 26, 2021
· 1872 views
This topic created in 2055 days ago, the information mentioned may be changed or developed.
我在 flutter 中开始接触 redux,但是我发现 redux 里 state 任意一个属性变化了,就会导致整个 state 树被刷新,所有的使用到 state 的 widget 都会触发刷新
请问这个是正常的吗?如果不正常有没有什么规避的方式
Redux
State
flutter
刷新
1 replies
•
2021-03-26 16:36:13 +08:00
cnwan
Mar 26, 2021
1
配合 Immutable 应该可以规避
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
4694 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 23ms ·
UTC 01:43
·
PVG 09:43
·
LAX 17:43
·
JFK 20:43
♥ Do have faith in what you're doing.
❯