摘要: 一、什么是 Ant Design 1、Ant Design 提炼自企业级中后台产品的交互语言和视觉风格 2、Ant Design 使用 TypeScript 构建,提供完整的类型定义文件 二、Ant Design 的安装 1、在项目根目录终端引入: npm install antd --save 2 阅读全文
posted @ 2019-08-10 19:11 Leophen 阅读(6206) 评论(0) 推荐(0) 编辑
摘要: React 生命周期图示 一、组件挂载阶段(Mounting) 1、componentDidMount() 在组件创建好 dom 元素后,挂载进页面时调用 二、组件更新阶段(Updating) 1、static getDerivedStateFromProps() 2、shouldComponent 阅读全文
posted @ 2019-08-10 17:33 Leophen 阅读(288) 评论(0) 推荐(0) 编辑