# react-study **Repository Path**: KevinBrother/react-study ## Basic Information - **Project Name**: react-study - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-15 - **Last Updated**: 2022-02-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # README ## 1. 按需加载 组件和样式 让antd的组件的js和css代码都会在项目中按需加载 yarn add react-app-rewired customize-cra yarn add babel-plugin-import ## 2. yarn start 太慢了 ## TODO now [ ] 组件传递层: 父子等的多种方式 [ ] 生命周期探索 [ ] 打包发布到服务器 [ ] 路由层: 统一外层路由组件,并生成菜单,和login等全局的界面做出区分 [ ] 状态层: 全局数据方案 mobx redux ## TODO after [ ] 错误日志监听 sentry [ ] story ?? [ ] test ## 拿下 1. 函数组件接受props; 2. memo() 性能优化,如果本组件中的数据没有发生变化,阻止组件更新.类似类组件中的PureComponent和shouldComponentUpdate 3.