mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 23:00:20 +08:00
Fix typo
This commit is contained in:
parent
61ab3a4a9e
commit
b84cb4ba45
@ -177,7 +177,7 @@ Learn more in the [Ant Design 3.0 announcement post](https://medium.com/ant-desi
|
|||||||
|
|
||||||
- Don't need set `allowSyntheticDefaultImports` when using in TypeScript.
|
- Don't need set `allowSyntheticDefaultImports` when using in TypeScript.
|
||||||
- We removed `react@0.14` and `react@15` from `peerDependencies`, though `antd@3.0` still works on old React versions, but we highly recommend you upgrading to React 16 since we may use the new features only exists in React 16 in the future. See [React 16](https://reactjs.org/blog/2017/09/26/react-v16.0.html)
|
- We removed `react@0.14` and `react@15` from `peerDependencies`, though `antd@3.0` still works on old React versions, but we highly recommend you upgrading to React 16 since we may use the new features only exists in React 16 in the future. See [React 16](https://reactjs.org/blog/2017/09/26/react-v16.0.html)
|
||||||
- Fully es module support, if you are using webpack 3, you can set babel-import-plugin's `libraryDirectory` to `es` to enable tree shaking .
|
- Fully es module support, if you are using webpack 3, you can set babel-plugin-import's `libraryDirectory` to `es` to enable tree shaking .
|
||||||
- We will support 2.x branch until July in next year.
|
- We will support 2.x branch until July in next year.
|
||||||
|
|
||||||
## 2.x
|
## 2.x
|
||||||
|
@ -188,7 +188,7 @@ timeline: true
|
|||||||
|
|
||||||
- 在 TypeScript 中使用时不再需要设置 `allowSyntheticDefaultImports`。
|
- 在 TypeScript 中使用时不再需要设置 `allowSyntheticDefaultImports`。
|
||||||
- 从 `peerDependencies` 中移除了 `react@0.14` 和 `react@15`,虽然目前 antd 3.0.0 依然可以在旧版本的 React 上使用,但是我们在未来有可能使用 React 16 的新特性,所以强烈建议升级到 React 16,见[升级文档](https://reactjs.org/blog/2017/09/26/react-v16.0.html)。
|
- 从 `peerDependencies` 中移除了 `react@0.14` 和 `react@15`,虽然目前 antd 3.0.0 依然可以在旧版本的 React 上使用,但是我们在未来有可能使用 React 16 的新特性,所以强烈建议升级到 React 16,见[升级文档](https://reactjs.org/blog/2017/09/26/react-v16.0.html)。
|
||||||
- 全面支持 ES Module ,antd 及其依赖的底层 react-component 组件全部提供了 ES Module 的构建版本,如果你使用 webpack 3,可以把 `babel-import-plugin` 的 `libraryDirectory` 设置为 `es`,以获得 Tree Shaking 的优化效果。
|
- 全面支持 ES Module ,antd 及其依赖的底层 react-component 组件全部提供了 ES Module 的构建版本,如果你使用 webpack 3,可以把 `babel-plugin-import` 的 `libraryDirectory` 设置为 `es`,以获得 Tree Shaking 的优化效果。
|
||||||
- 最后,我们会继续维护 2.x 的分支到明年 6 月份。
|
- 最后,我们会继续维护 2.x 的分支到明年 6 月份。
|
||||||
|
|
||||||
## 2.x
|
## 2.x
|
||||||
|
Loading…
Reference in New Issue
Block a user