1. clone源码:git clone https://github.com/facebook/react.git
    2. 依赖安装:npm install or yarn
    3. build源码:npm run build react/index,react/jsx,react-dom/index,scheduler —type=NODE

    4. 为源码建立软链:

    1. cd build/node_modules/react
    2. npm link
    3. cd build/node_modules/react-dom
    4. npm link
    1. create-react-app创建项目
      1. npx create-react-app demo
      2. npm link react react-dom