{"id":13671846,"url":"https://github.com/react-love/react-latest-framework","last_synced_at":"2025-10-03T20:31:53.879Z","repository":{"id":57333324,"uuid":"62892221","full_name":"react-love/react-latest-framework","owner":"react-love","description":"a client framework of React","archived":true,"fork":false,"pushed_at":"2019-04-25T05:58:10.000Z","size":6980,"stargazers_count":825,"open_issues_count":1,"forks_count":310,"subscribers_count":65,"default_branch":"master","last_synced_at":"2025-01-10T20:29:22.279Z","etag":null,"topics":["antd","create-react-app","happypack","hooks","less","react","react-hook","react-hooks","react-hot-loader-3","react-router4","react16","redux","webpack4"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/react-love.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-08T13:52:59.000Z","updated_at":"2024-10-21T09:07:36.000Z","dependencies_parsed_at":"2022-09-11T05:51:07.672Z","dependency_job_id":null,"html_url":"https://github.com/react-love/react-latest-framework","commit_stats":null,"previous_names":["hyy1115/react-framework-cli","hyy1115/react-latest-framework"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-love%2Freact-latest-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-love%2Freact-latest-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-love%2Freact-latest-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-love%2Freact-latest-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-love","download_url":"https://codeload.github.com/react-love/react-latest-framework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235184515,"owners_count":18949255,"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":["antd","create-react-app","happypack","hooks","less","react","react-hook","react-hooks","react-hot-loader-3","react-router4","react16","redux","webpack4"],"created_at":"2024-08-02T09:01:20.192Z","updated_at":"2025-10-03T20:31:48.456Z","avatar_url":"https://github.com/react-love.png","language":"JavaScript","funding_links":[],"categories":["项目","JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg width=\"100\" src=\"https://segmentfault.com/img/bVZwRf?w=516\u0026h=457\" /\u003e\u003c/p\u003e\n\n# React技术栈脚手架（V16.8.6）\n\n[![Build Status](https://travis-ci.org/hyy1115/react-latest-framework.svg?branch=master)](https://travis-ci.org/hyy1115/react-latest-framework.svg?branch=master)  [![codebeat badge](https://codebeat.co/badges/8be7b4c1-85f3-4da9-ab23-d470624b40ad)](https://codebeat.co/projects/github-com-hyy1115-react-redux-webpack2-master)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md#pull-requests)\n\n**适用人群：该框架集成了react开发常用技术栈，适用于想要学习单向数据流框架搭建的新手、以及想要一个比较干净、简洁的框架从事前端项目的开发者。**\n\n### 框架集成的配置\n\n\u003e webpack版本为4.28.4，并且对webpack相关的第三方插件进行了兼容处理\n\n\u003e 基于 [create-react-app][4] 进行改造，增加了redux、react-router、immutable等\n\n\u003e 使用react-loadable做异步路由\n\n\u003e babel最新配置\n\n\u003e 使用happypack优化js、css构建，速度明显提升\n\n\u003e UI框架使用的是世界第二大UI框架 \bantd\n\n\u003e （新增）你可以学习到如何在项目中使用react hooks，react-redux-hook\n\n\u003e （新增）项目中有3个文件使用了hooks写法，分别是入口文件App.js，BaseLayout/index.js，Login.js，其余组件仍然保留class包装Connect的写法，用来做对比。\n\n#### 客户端渲染\n\n本项目是客户端渲染版本，登录账号 admin ， 密码 12345 \n\n![clipboard.png](https://segmentfault.com/img/bVbkqk8)\n\n![clipboard.png](https://segmentfault.com/img/bVbkqla)\n\n### Installation 教程\n\nfork到你的账号，简单省事，或者 download 项目到本地\n\n**1、 安装依赖包，已经解决了一些依赖包安装最新版可能出现的bug，如果还有问题，可以看相关社区的issue。**\n```\nnpm install 或cnpm install 或 yarn\n```\n\n**2、运行demo。**\n ```nodemon\n npm start\n ```\n\n**4、打包发布** \n\n```nodemon\nnpm run build\n```\n\n**5、你可以尝试serve来启动服务器。**\n\n```nodemon\nnpm run serve\n```\n\n\n### 学习ES6语法\nReact项目中，使用了大量的ES6语法，如果你还没有学习过ES6，那么推荐你看 [深入理解ES6笔记][2]\n\n**如果你对该项目感兴趣，想共享一份你的力量，请大胆pull PR！**\n\n[2]: https://github.com/hyy1115/ES6-learning\n[4]: https://github.com/facebook/create-react-app\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-love%2Freact-latest-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-love%2Freact-latest-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-love%2Freact-latest-framework/lists"}