Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhaagens/react-mobx-react-router4-boilerplate
React, React-Router 4, MobX and Webpack 2-boilerplate with async routes.
https://github.com/mhaagens/react-mobx-react-router4-boilerplate
async boilerplate lazy-loading mobx react react-router
Last synced: 9 days ago
JSON representation
React, React-Router 4, MobX and Webpack 2-boilerplate with async routes.
- Host: GitHub
- URL: https://github.com/mhaagens/react-mobx-react-router4-boilerplate
- Owner: mhaagens
- Created: 2016-10-03T23:32:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-11-17T09:56:26.000Z (almost 5 years ago)
- Last Synced: 2024-10-16T18:32:15.026Z (23 days ago)
- Topics: async, boilerplate, lazy-loading, mobx, react, react-router
- Language: JavaScript
- Homepage:
- Size: 203 KB
- Stars: 560
- Watchers: 24
- Forks: 137
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React MobX React-Router 4 Boilerplate
### :tada: React, React-Router@next, MobX and Webpack 2.
## [Demo](http://boilerplate.mhaagens.me)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](https://github.com/mhaagens/lazy-route).### Todo
- [X] Async loading of components
- [X] Data fetching example
- [X] Protected Routes