8000 GitHub - yujingwyh/little-react: 200行代码实现的精简react
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yujingwyh/little-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

little-react

精简的react实现,除过注释和空行外基本200行。当然不可能全覆盖react的所有功能,主要实现了渲染这块,帮助大家理解react渲染原理

文章

点这里 《用200行代码实现一个超小的react》

如何使用

安装依赖

npm install

运行demo

一共有四个demo,运行下面的命令,然后打开浏览器输入localhost:1234进行预览

npm run demo1
#or
npm run demo2

About

200行代码实现的精简react

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0