react 笔记

liuyuqi-dellpc adc5c5ed75 init 5 years ago
client 0f576b9b1b init 5 years ago
demo1 adc5c5ed75 init 5 years ago
.dockerignore 0f576b9b1b init 5 years ago
.gitignore 0f576b9b1b init 5 years ago
Dockerfile adc5c5ed75 init 5 years ago
README.md adc5c5ed75 init 5 years ago
docker-compose.yml 0f576b9b1b init 5 years ago

README.md

reat-note

1、在已有网站嵌入React:

 <!-- 加载 React。-->
  <!-- 注意: 部署时,将 "development.js" 替换为 "production.min.js"。-->
  <script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>
  <script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>

  <!-- 加载我们的 React 组件。-->
  <script src="like_button.js"></script>

2、jsx