Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wanpan11/react-source-debug
react 源码调试 直接在源码中debugger
https://github.com/wanpan11/react-source-debug
Last synced: 9 days ago
JSON representation
react 源码调试 直接在源码中debugger
- Host: GitHub
- URL: https://github.com/wanpan11/react-source-debug
- Owner: wanpan11
- Created: 2023-04-21T16:27:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-25T08:34:57.000Z (over 1 year ago)
- Last Synced: 2024-11-08T15:53:53.522Z (2 months ago)
- Homepage:
- Size: 1.27 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
### 基础环境
- react 18.2.0
- react 仓库为 submodule
- node@16#### step 1
- 构建react (根目录执行)
- 安装依赖 npm run i-react (可能会有部分依赖 无法安装 可直接尝试 build 命令)
- 构建项目 npm run build#### step 2
- 复制 react/build/node_modules 内的
- react/react
- react/react-dom
- 至 demo/public 下#### step 3
- 启动测试项目
- 进入 demo 安装依赖
- 项目根目录执行 npm run start#### step 4
- 使用 运行和调试 进行测试
- 断点在 调试-已载入的脚本 内设置