Awesome Open Source
Awesome Open Source

React Router Dynamic Route Loading w/ Webpack 2 Chunks

Webpack 2 automatically splits routes in chunks (small bundles) and loads them on demand.

See the demo

Contains

Features

  • [x] Tree shaking
  • [x] Code Splitting
  • [x] Hot Module Replacement
  • [x] ES6 Source debugging in Chrome with sourcemaps
  • [x] React Router
  • [x] Yarn-friendly

##System Requirements Before installing the dependencies, make sure your system has the correct Node and Npm versions, otherwise you will get errors.

  • Node 6.x.x
  • Npm 3.x.x

Setup

$ npm install

Running

$ npm start

Build

$ npm run build
Alternatives To React Dynamic Route Loading Es6
Select To Compare


Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,060,373
Reactjs (162,518
Webpack (23,636
Webpack2 (23,636
Loading (17,390
Router (13,788
Routes (8,934
Offline (5,545
Chunk (4,357
React Router (4,125
Service Worker (2,065
Hmr (1,060
Preload (988
Tree Shaking (220
Preloading (12
Precache (11