Review
- 2024-09-14 15:06
[!Summary]
一、Introduction #
Prerequisites #
brew install autoconfnode@18.20.1
yarn@1.22.22
Clone and build #
git clone --depth 1 --branch v18.3.1 git@github.com:facebook/react.git react18
cd react18
yarn installyarn run build-for-devtools-devoutput build/node_modules
cd build/node_modules/react
yarn link
cd build/node_modules/react-dom
yarn linkCreate React App #
npm create vite@latest react-debug -- --template react
cd react-debug
yarn install
yarn link react react-dom
yarn devReference #
https://dev.to/arnabchat90/debugging-react-source-code-with-a-react-client-app-1l7