# 构建项目
npx create-react-app react-with-ts --template typescript
-
Hook 规则
- 只在最顶层使用 Hook
- 只在 React 函数中调用 Hook
-
其他 Hook
- 代码结构
- 样式方案解决
- 组件需求分析和编码
- 组件测试
- 代码打包输出和发布
- CI/CD,文档生成等等
React+TypeScript高仿AntDesign开发企业级UI组件库
# 构建项目
npx create-react-app react-with-ts --template typescript
Hook 规则
其他 Hook
React+TypeScript高仿AntDesign开发企业级UI组件库