CDN

  1. <!-- 核心库 -->
  2. <script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script>
  3. <!-- React 关于 DOM 的扩展库 -->
  4. <script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>