# react-html-demo
**Repository Path**: zhongjiaming/react-html-demo
## Basic Information
- **Project Name**: react-html-demo
- **Description**: 用来搞清楚react执行流程
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-12-05
- **Last Updated**: 2021-12-05
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 克隆项目到本地
> git clone https://gitee.com/zhongjiaming/react-html-demo.git
# 一键安装依赖,项目只用了`babel-cli@6`,`babel-preset-react-app@3`
> yarn
# 运行jsx监听器
> npx babel --watch src --out-dir . --presets react-app/prod
- 最后在src里写react,写完后手动刷新index.html即可看到效果;
- 也可以在任何地方打断点调试