{"id":25983688,"url":"https://github.com/foveluy/luy","last_synced_at":"2025-04-09T20:15:13.814Z","repository":{"id":50281131,"uuid":"104733268","full_name":"Foveluy/Luy","owner":"Foveluy","description":"a React-like framework","archived":false,"fork":false,"pushed_at":"2018-09-18T09:41:41.000Z","size":1590,"stargazers_count":356,"open_issues_count":6,"forks_count":31,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-04-09T20:15:09.248Z","etag":null,"topics":["react","react-like","reactdom","reactjs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Foveluy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-25T09:58:31.000Z","updated_at":"2025-01-29T14:17:54.000Z","dependencies_parsed_at":"2022-09-24T10:26:01.461Z","dependency_job_id":null,"html_url":"https://github.com/Foveluy/Luy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foveluy%2FLuy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foveluy%2FLuy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foveluy%2FLuy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foveluy%2FLuy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Foveluy","download_url":"https://codeload.github.com/Foveluy/Luy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["react","react-like","reactdom","reactjs"],"created_at":"2025-03-05T10:31:52.186Z","updated_at":"2025-04-09T20:15:13.787Z","avatar_url":"https://github.com/Foveluy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://github.com/Foveluy/Luy/blob/master/art/luy.png?raw=true)\n\n# Luy，一个类 React 框架\n\n所谓类`React`框架就是**和 React 用法一模一样**的框架。我的目标是，缔造一个和 React 一摸一样的框架。\n\n## 跑 fiber 架构\n\n```\ngit clone https://github.com/Foveluy/Luy.git\ncd Luy\nnpm i --save-dev\nnpm run start\n```\n\n## 以下是 React 15 版本的\n\n和`React`一模一样，我们来看一个最简单的实例\n\n```javascript\nimport React from 'luy'\nimport ReactDOM from 'luy'\n\nclass Luy extends React.Component {\n  render() {\n    return \u003cdiv\u003eHello,Luy!\u003c/div\u003e\n  }\n}\n\nReactDOM.render(\u003cLuy /\u003e, document.getElementById('root'))\n```\n\n## 性能测试\n\n* [Luy 第一版性能测试](http://htmlpreview.github.io/?https://github.com/215566435/Luy/blob/master/performance/luy/index.html)\n* [react 官方性能测试](http://htmlpreview.github.io/?https://github.com/215566435/Luy/blob/master/performance/react/index.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoveluy%2Fluy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoveluy%2Fluy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoveluy%2Fluy/lists"}