mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
8f830ec366
React component state updates using setState may asynchronously update this.props and this.state, thus it is not safe to use either of the two when calculating the new state passed to setState, and instead the callback-based variant should be used instead. |
||
---|---|---|
.. | ||
__tests__ | ||
demo | ||
style | ||
index.en-US.md | ||
index.tsx | ||
index.zh-CN.md |