Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
前端开发
forceupdate 的使用时机是什么?
vevlins
·
Jul 18, 2018
· 2246 views
This topic created in 2851 days ago, the information mentioned may be changed or developed.
forceUpdate()当你知道一些很深的组件 state 已经改变了的时候,可以在该组件上面调用,而不是使用 this.setState()。
这句话如何理解?
No Comments Yet
组件
tate
State
forceupdate
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
5489 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms ·
UTC 08:53
·
PVG 16:53
·
LAX 01:53
·
JFK 04:53
♥ Do have faith in what you're doing.
❯