Skip to content

crawlregister/react-dynamic-route-loading-es6

 
 

Repository files navigation

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

  • Tree shaking
  • Code Splitting
  • Hot Module Replacement
  • ES6 Source debugging in Chrome with sourcemaps
  • React Router
  • 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

About

Auto chunking and dynamic loading of routes with React Router and Webpack 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.4%
  • CSS 19.7%
  • HTML 1.9%