All Projects → javaLuo → React Luo

javaLuo / React Luo

Licence: mit
React Automatically - 保持最新技术 react17 hooks router5 webpack5 babel7 antd4

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Luo

Prettier Plugin Apex
Code formatter for the Apex Programming Language
Stars: ✭ 138 (-34.6%)
Mutual labels:  prettier
Lad
👦 Lad is the best Node.js framework. Made by a former Express TC and Koa team member.
Stars: ✭ 2,112 (+900.95%)
Mutual labels:  prettier
Mullet
Mullet Stack: Facebook in the front. Walmart in the back. (React, Hapijs, Node)
Stars: ✭ 194 (-8.06%)
Mutual labels:  prettier
Pettier
Prettier config that randomizes options and arbitrarily switches between spaces and tabs 🙄
Stars: ✭ 149 (-29.38%)
Mutual labels:  prettier
Prettier Stylelint
code > prettier > stylelint > formatted code
Stars: ✭ 162 (-23.22%)
Mutual labels:  prettier
React Conf 17 Videos
Find that one presentation you missed!
Stars: ✭ 182 (-13.74%)
Mutual labels:  prettier
Nextjs Ts
Opinionated Next JS project boilerplate with TypeScript and Redux
Stars: ✭ 134 (-36.49%)
Mutual labels:  prettier
Prettier Chrome
🎨 An extension that can run Prettier in the browser
Stars: ✭ 207 (-1.9%)
Mutual labels:  prettier
Poetic
Automatically install and maintain ESLint, Prettier, EditorConfig and Airbnb rules for JavaScript, TypeScript and React.
Stars: ✭ 165 (-21.8%)
Mutual labels:  prettier
Init.nvim
An Opinionated Neovim Config for the Minimalists
Stars: ✭ 194 (-8.06%)
Mutual labels:  prettier
Spotless
Keep your code spotless
Stars: ✭ 2,285 (+982.94%)
Mutual labels:  prettier
Eslint Plugin Prettier
ESLint plugin for Prettier formatting
Stars: ✭ 2,228 (+955.92%)
Mutual labels:  prettier
Doctorpretty
Wadler's "A prettier printer" embedded pretty-printer DSL for Swift
Stars: ✭ 186 (-11.85%)
Mutual labels:  prettier
Gatsby V2 Tutorial Starter
Gatsby V2 Starter - product of step by step tutorial
Stars: ✭ 139 (-34.12%)
Mutual labels:  prettier
Prettier Plugin Tailwind
Sort tailwind classes in HTML with Prettier.
Stars: ✭ 192 (-9%)
Mutual labels:  prettier
React Native Boilerplate
A React Native boilerplate with Expo, Redux, React Navigation, Styled Components and some 💕 included.
Stars: ✭ 135 (-36.02%)
Mutual labels:  prettier
Eslint Config Wesbos
No-Sweat™ Eslint and Prettier Setup - with or without VS Code
Stars: ✭ 2,293 (+986.73%)
Mutual labels:  prettier
Prettier Plugin Sort Imports
A prettier plugin to sort imports in typescript and javascript files by the provided RegEx order.
Stars: ✭ 205 (-2.84%)
Mutual labels:  prettier
Prettier Ruby
Prettier for ruby
Stars: ✭ 196 (-7.11%)
Mutual labels:  prettier
Stylelint Prettier
Stylelint plugin for Prettier formatting
Stars: ✭ 188 (-10.9%)
Mutual labels:  prettier

React-Luo

Build Status codebeat badge code style: prettier GitHub last commit

what is this?

react automatically
这是一个 React 脚手架,没有使用 create-react-app
标准的 React+Redux 分层结构
经过了多个项目的实践,不停的更新和优化出来的。目前自己做项目也在用。

  • PWA、Hooks、代码分割、热替换、HappyPack 多线程构建、ES6+语法

构建 Start

yarn install		# 安装依赖模块

yarn start		# 运行开发环境: http://localhost:8888
yarn build		# 正式打包,用于生产环境

yarn dist		# 运行正式打包后的最终文件(build目录下的文件): http://localhost:8889
yarn distmac	        # MAC下运行最终文件:http://localhost:8889

yarn prettier		# 自动格式化src、mock目录下的所有.js/.css/.scss/.less文件

更新日志 Update log

Wiki

目录结构 Structure

.
├── build				# 正式打包后,会自动生成该文件夹,其中会包含最终用于生产环境的文件
│   ├── dist				# 编译后的资源文件
│   ├── icons				# 编译后自动生成的各尺寸favicon图标,有的会用于PWA配置
│   ├── asset-manifets.json		# 记录了将会被缓存的资源
│   ├── index.html			# 编译后的主页html
│   ├── manifest.json			# PWA配置文件,配置了桌面图标,以APP方式启动时的启动页面相关参数
│   └── service-worker.js		# PWA核心worker, 用于离线访问,缓存不变的资源文件
├── mock				# mock测试数据
├── public				# 静态文件,index.html等
├── src                                 # 项目代码目录
│   ├── component                     # 所有的公共类UI组件
│   ├── container                     # 所有的页面级容器组件
|	├── ...
|   	└── router			# 根组件,里面配置了顶级的路由
|   ├── models				# 模块(包含store数据/reducers/actions)
│   ├── assets                          # 所有的图片、文件等静态资源
│   ├── styles                          # 所有的样式文件
│   ├── store                           # store数据中心
│   ├── root                            # 根页
│   ├── store                           # store数据中心
│   ├── util                            # 自定义工具
│   ├── index.js                        # 项目入口JS
│   └── index.html                      # 主页html文件,开发环境和生产打包共用
├── server.js				# 用于开发环境的服务部署
├── webpack.dev.config.js		# 用于开发环境的webpack配置
└── webpack.production.config.js	# 用于生产环境正式打包的webpack配置

预览地址 Demo

https://isluo.com/work/pwa/ (线上没有 mock 环境)

参阅资料

React 英文官网:https://reactjs.org
React 中文文档:https://doc.react-china.org
React GitHub 地址:https://github.com/facebook/react
React 官方更新日志:https://github.com/facebook/react/releases
React 生命周期:https://reactjs.org/docs/react-component.html
mockjs 官网:http://mockjs.com/
Eslint 中文站:http://eslint.cn/
Babel GitHub 地址:https://github.com/babel/babel

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].