All Projects → liyuanqing → react

liyuanqing / react

Licence: other
react 项目骨架

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to react

React Antd
基于react + redux + immutable + less + ES6/7 + webpack2.0 + fetch + react-router + antd实现的SPA后台管理系统模板
Stars: ✭ 321 (+2575%)
Mutual labels:  less, react-router
Dianpinplus
从零开始使用React全家桶开发电商系统
Stars: ✭ 135 (+1025%)
Mutual labels:  less, react-router
React Redux Antdesign Webpack Starter
react + redux + ant design + react-router 4 + webpack 4 starter
Stars: ✭ 44 (+266.67%)
Mutual labels:  less, react-router
Memos
React+React-router+redux+redux-thunk+less+es6实现的简易备忘录,在线demo地址:
Stars: ✭ 174 (+1350%)
Mutual labels:  less, react-router
Redux Cnode
react+react-router+redux+es6+antd-mobile+webpack版本的Cnode
Stars: ✭ 96 (+700%)
Mutual labels:  less, react-router
react-antd
基于react + redux + immutable + less + ES6/7 + webpack2.0 + fetch + react-router + antd实现的SPA后台管理系统模板
Stars: ✭ 320 (+2566.67%)
Mutual labels:  less, react-router
react-demo-projects
Sample React Projects built with different libraries such as Redux, Apollo, React Router etc.
Stars: ✭ 83 (+591.67%)
Mutual labels:  react-router
jess
If you like CSS, Less, Sass, and/or CSS modules, you're gonna want to star this repo.
Stars: ✭ 26 (+116.67%)
Mutual labels:  less
passbolt styleguide
Passbolt styleguide
Stars: ✭ 24 (+100%)
Mutual labels:  less
DM Tools
An open-source Dungeons and Dragons DM helper desktop app built with React.js, Redux, SCSS
Stars: ✭ 41 (+241.67%)
Mutual labels:  react-router
react-mobile
从0构建 react 移动端框架,包含 分模块打包,自动转为rem,强大的路由功能,并配置dva,and-mobile等优质组件(项目会逐渐迭代~)
Stars: ✭ 30 (+150%)
Mutual labels:  less
React-Playground
Learning reactjs from the ground up (router, redux, thunk, hooks, context, portals, and functional components)
Stars: ✭ 15 (+25%)
Mutual labels:  react-router
emitty
A platform for finding dependencies between files and building tools for incremental compilation or build.
Stars: ✭ 69 (+475%)
Mutual labels:  less
tdesign-vue-next
A Vue3.x UI components lib for TDesign.
Stars: ✭ 799 (+6558.33%)
Mutual labels:  less
razzle-template
SSR template with React, Effector, TypeScript, ReactRouter, and StyledComponents
Stars: ✭ 62 (+416.67%)
Mutual labels:  react-router
react-fullstack-template
React template with a NodeJS backend
Stars: ✭ 18 (+50%)
Mutual labels:  react-router
react-laravel
A simple crud based laravel app to learn how to use react with laravel.
Stars: ✭ 43 (+258.33%)
Mutual labels:  react-router
pokedex-nextjs
Get to know the different render methods that the Next.js framework provides by exploring Pokemons
Stars: ✭ 39 (+225%)
Mutual labels:  less
react-webpack2-skeleton
Get started with React with Webpack2, React-Router, Redux, Code Splitting and Server Rendering
Stars: ✭ 59 (+391.67%)
Mutual labels:  react-router
Tomatobean
集成react + react-router + react-redux的轻量级前端框架。提供keep-live功能,快速构建项目。在构建中大型项目时优势明显。
Stars: ✭ 15 (+25%)
Mutual labels:  react-router

react-demo

Usage

  • 开发
$ npm install -g
$ npm start
  • 打包
$ npm run build

技术点

  • 本框架使用react react-router redux webpack less ant-design等技术

功能

  • 可快速开发后台类系统
  • webpack生成首页
  • 热更新
  • 路由分割
  • 报错信息指向源文件

开发步骤

  1. 在src/containers 文件下添加页面
  2. 在src/router.js 文件里添加路由
  3. 在src/actions 文件下添加页面对应的.js 文件(主要作用是发起dispatch,改变redux)
  4. 在src/reducers 文件下添加页面对应的.js 文件(设置redux初始值,并根据不同情况进行相应改变)
  5. 在src/reducers/index.js 文件将现有的reduces合并为一个大的状态机

待改进问题

  • 打包代码压缩
  • webpack添加环境变量,为快发环境和线上环境定制深度定制不同打包逻辑
  • 登录页面加入打包,不单独列出
  • 与后端进行接口标准制定,并统一改进接口反馈(包括成功提示,失败提示,404处理,错误处理等)

将来设想

  • 构建自己的node.js服务器
  • 进行服务器端渲染
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].