Need help with simple-react?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

hujiulong
246 Stars 74 Forks MIT License 22 Commits 2 Opened issues

Description

simple react

Services available

!
?

Need anything else?

Contributors list

# 6,829
TypeScr...
Vue.js
vuejs2
grid-la...
22 commits

simple-react

996.icu

一个极简的React框架,用于说明React实现原理,请不要用于生产环境

实现了JSX,组件,生命周期,diff,setState等核心功能

相关文章

运行

git clone https://github.com/hujiulong/simple-react.git
cd simple-react
npm install
npm start

使用

为了简单起见,并没有分开库代码和应用代码,可以直接修改

src/index.js
来使用 ```jsx // src/index.js import React from './react' import ReactDOM from './react-dom'

class App extends React.Component { render() { return

Hello,World!

; } }

ReactDOM.render( , document.getElementById( 'root' ) ); ```

LISCENSE

MIT

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.