mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
docs: Add mutable data warning (#23696)
This commit is contained in:
parent
156ff7652c
commit
3967f12f3d
@ -32,6 +32,7 @@ This document will help you upgrade from antd `3.x` version to antd `4.x` versio
|
||||
|
||||
- The minimum supported version of IE is IE 11.
|
||||
- The minimum supported version of React is React 16.9, and some components have started to refactor using hooks.
|
||||
- Internal using `useMemo` for performance, do not use mutable data as props.
|
||||
|
||||
#### Remove deprecated API
|
||||
|
||||
|
@ -32,6 +32,7 @@ title: 从 v3 到 v4
|
||||
|
||||
- IE 最低支持版本为 IE 11。
|
||||
- React 最低支持版本为 React 16.9,部分组件开始使用 hooks 进行重构。
|
||||
- 重构通过 `useMemo` 进行性能优化,请勿使用 mutable data 作为参数。
|
||||
|
||||
#### 移除废弃的 API
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user