ToyReact

170 阅读1分钟

…or create a new repository on the command line

echo "# ToyReact" >> README.md

git init     </br>
git add README.md      </br>
git commit -m "first commit"     </br>
git branch -M master       </br>
git remote add origin git@github.com:AOORJGCS/ToyReact.git   </br>
git push -u origin master      </br>

…or push an existing repository from the command line

git remote add origin git@github.com:AOORJGCS/ToyReact.git    </br>
git branch -M master   </br>
git push -u origin master     </br>

…or import code from another repository

You can initialize this repository with code from a Subversion, Mercurial, or TFS project.

JSX的原理和关键实现

为toy-react添加生命周期

虚拟DOM的原理和关键实现

参考链接:

需提前安装 Node.js、npm 环境 webpack React Tutorial TicTacToe MDN: