项目
在 GitHub 查看
mhaagens/react-mobx-react-router4-boilerplate
关于
基于 React、React-Router 4、MobX 和 Webpack 2 的样板项目,支持异步路由。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文React MobX React-Router 4 Boilerplate
:tada: React, React-Router@next, MobX and Webpack 2.
Demo
Just run npm install and npm start, then go to localhost:3000 to start developing.
To build, run npm run build, and to preview run npm run preview, then go
to localhost:1234 for the minified production bundle.
Async component loading
Components are now loaded async with react-router-loader and the store is injected via MobX Provider.
If you've downloaded this boilerplate before remember to run npm install again.
Read this if you've been using an earlier version of this boilerplate
- 05/03/17 - Hot reloadable MobX stores
- 04/04/17 - Upgraded to React Router 4 @ latest
- 01/31/17 - Upgraded to React Router 4 Beta
- 01/28/17 - Routes are now loaded through Lazy-Route.
Todo
- Async loading of components
- Data fetching example
- Protected Routes
探索相关项目
加载中…