All Projects → sanyuelanv → React Mobx Project

sanyuelanv / React Mobx Project

react-mobx-router开发模版

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Mobx Project

mobxSpa
企业级SPA项目,完整开发脚手架
Stars: ✭ 96 (+95.92%)
Mutual labels:  mobx, react-router-v4
React Mobx Demo
🔥 React, Mobx, and React-Router to achieve a Zhihu Daily App.
Stars: ✭ 59 (+20.41%)
Mutual labels:  mobx, react-router-v4
react-with-mobx-template
project template-react&&mobx
Stars: ✭ 15 (-69.39%)
Mutual labels:  mobx, react-router-v4
React Mobx Firebase Authentication
🔥Boilerplate Project for Authentication with Firebase in React and MobX
Stars: ✭ 111 (+126.53%)
Mutual labels:  mobx, react-router-v4
Favesound Mobx
🎶 A SoundCloud Client in React + MobX running in production. Live Demo and Source Code to explore React + MobX. Refactored from favesound-redux
Stars: ✭ 532 (+985.71%)
Mutual labels:  mobx, react-router-v4
React Redux Saga Starter
Basic, Opinionated starter kit for React+Redux+Redux Saga with support for SCSS CSS Modules, Storybook, JEST testing, and ESLint
Stars: ✭ 12 (-75.51%)
Mutual labels:  react-router-v4
Simple Todo With React And
📝 a simple react demo to learn flux/reflux/redux
Stars: ✭ 29 (-40.82%)
Mutual labels:  mobx
React Firebase Authentication
🔥 Boilerplate Project for Authentication with Firebase in React.
Stars: ✭ 863 (+1661.22%)
Mutual labels:  react-router-v4
Polobx
A state manager for Polymer based in MobX
Stars: ✭ 24 (-51.02%)
Mutual labels:  mobx
React Redux Antdesign Webpack Starter
react + redux + ant design + react-router 4 + webpack 4 starter
Stars: ✭ 44 (-10.2%)
Mutual labels:  react-router-v4
Todo app open source
📱 an app to annotate tasks made with Flutter using MobX
Stars: ✭ 40 (-18.37%)
Mutual labels:  mobx
React App Example
Electron application example using React and MobX
Stars: ✭ 20 (-59.18%)
Mutual labels:  mobx
Tvrboreact
Dream starter project: React, Redux, React Router, Webpack
Stars: ✭ 13 (-73.47%)
Mutual labels:  react-router-v4
Mobx Docs Cn
MobX 中文文档
Stars: ✭ 957 (+1853.06%)
Mutual labels:  mobx
React Mobx React Router Boilerplate
A simple boilerplate based on create-react-app and add mobx, react-router, linter, prettier and so on. 一个简单的 react 脚手架依赖于 create-react-app 新增了 mobx react-router,linter,prettier 等。
Stars: ✭ 12 (-75.51%)
Mutual labels:  mobx
Rntimerexample
📱 React Native + Mobx sample app
Stars: ✭ 40 (-18.37%)
Mutual labels:  mobx
React Native Starter Kit
React Native starter kit, get up and running !
Stars: ✭ 9 (-81.63%)
Mutual labels:  react-router-v4
Create React App Redux
React Router, Redux, Redux Thunk & Create React App boilerplate
Stars: ✭ 885 (+1706.12%)
Mutual labels:  react-router-v4
Hellobooks
A Single-Page Library Management App built with nodejs, express and react and redux
Stars: ✭ 37 (-24.49%)
Mutual labels:  react-router-v4
M Fe Boilerplates
Lucid & Futuristic Production Boilerplates For Frontend(Web) Apps, React/RN/Vue, with TypeScript(Optional), Webpack 4/Parcel, MobX/Redux 💫 多技术栈前端项目模板
Stars: ✭ 877 (+1689.8%)
Mutual labels:  mobx

react手脚架

项目架构:

├── app  // 前端开发项目
│   ├── common
│   │   ├── component
│   │   │   ├── async
│   │   │   │   ├── css.css
│   │   │   │   ├── index.js
│   │   │   │   └── loading.js
│   │   │   ├── error
│   │   │   │   ├── css.css
│   │   │   │   └── index.js
│   │   │   ├── load
│   │   │   │   ├── css.css
│   │   │   │   └── index.js
│   │   │   └── nav
│   │   │       ├── css.css
│   │   │       └── index.js
│   │   └── css
│   │       └── css.css
│   ├── console.js
│   ├── image
│   │   ├── big.jpg
│   │   └── icon.svg
│   ├── index.html
│   ├── main.js
│   ├── router
│   │   ├── home
│   │   │   ├── css.css
│   │   │   └── index.js
│   │   ├── index.js
│   │   └── user
│   │       ├── css.css
│   │       └── index.js
│   └── stores
│       ├── clickTimesStore.js
│       ├── fetchStore.js
│       ├── index.js
│       └── loadStore.js
├── manifestInLine.js
├── package-lock.json
├── package.json
├── postcss.config.js
├── server.js  // 服务启动
├── views
│   └── index.ejs
├── webpack.config.js
└── webpack.production.config.js

2018-6-17 更新

  1. 升级webpack 4
  2. 优化开发环境:
    1. 自动识别本地 IP ,开发模式下会自动打开页面
    2. 模版文件 index.html 跟随开发文件夹
    3. 自动删除旧的打包文件
  3. 使用 babel-polyfill 代替 babel-runtime
  4. 使用 url-loader 处理图片,小于25K的打包进去 JS 文件
  5. 优化开发规范,验证 propTypes强化开发规则,强烈建议使用 vscode 来开发,便于使用 eslint 的相关功能,并且打开以下功能
        "eslint.autoFixOnSave": true,
    
  6. 打包写入 koa 搭建的服务器内。其中静态文件写入 static , 而 html 写入 view/index.ejs
  7. npm run server 即可启动服务器 , 打开 http://localhost:3000/ 可看到效果
  8. 前端开发启动:npm install 或者 yarn install 打开 http://localhost:8080/
  9. 如有问题,可以进入QQ群进行交流:798527244

2017-12-12 更新

  1. 升级一下所有依赖
  2. 使用babel-preset-env取代es2015, es2016, es2017, latest等插件
  3. babel的配置文件写入package.json
  4. 增加Vconsole到开发环境。
  5. 开发环境下使用proxy 转发请求。

说明

启动例子项目:npm install 或者 yarn install 打开本地的8080端口

  1. 更新一系列依赖版本,react 升级到16版。
  2. 把导航栏组件移到可常驻的路由外层。
  3. 增加load view 以及 对应的store
  4. 移除模拟后台,使用cnode 的API进行模拟数据加载
  5. css/image完成移进app项目里面
  6. 使用postcss,自动补全前缀

babel-plugin说明

  1. babel-plugin-syntax-dynamic-import : 支持按需加载路由组件
  2. babel-plugin-transform-class-properties / babel-plugin-transform-decorators-legacy : 使用mobx需要用到
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].