All Projects → Foveluy → Luy

Foveluy / Luy

Licence: other
a React-like framework

Programming Languages

javascript
184084 projects - #8 most used programming language

Luy,一个类 React 框架

所谓类React框架就是和 React 用法一模一样的框架。我的目标是,缔造一个和 React 一摸一样的框架。

跑 fiber 架构

git clone https://github.com/Foveluy/Luy.git
cd Luy
npm i --save-dev
npm run start

以下是 React 15 版本的

React一模一样,我们来看一个最简单的实例

import React from 'luy'
import ReactDOM from 'luy'

class Luy extends React.Component {
  render() {
    return <div>Hello,Luy!</div>
  }
}

ReactDOM.render(<Luy />, document.getElementById('root'))

性能测试

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].