Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
djeeg committed Feb 23, 2016
1 parent 3904c8d commit 78c980f
Showing 1 changed file with 10 additions and 20 deletions.
30 changes: 10 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
example-react-router-universal-lazyroutes-typescript

## Concepts

Hot Reloading by Webpack
Isomorphic / Universal / Server Rendering
Code splitting by Webpack 2's `System.import`
Lazy Routes by React-Router's getChildRoutes
Treeshaking by `es2015-webpack` preset
- Hot Reloading by Webpack
- Isomorphic / Universal / Server Rendering
- Code splitting by Webpack 2's `System.import`
- Lazy Routes by React-Router's getChildRoutes
- Treeshaking by `es2015-webpack` preset

## Technology

react 0.14.6
babel 6.4.0
react-router 2.0.0
typescript 1.8.0
webpack 2.0.7-beta
- react 0.14.6
- babel 6.4.0
- react-router 2.0.0
- typescript 1.8.0
- webpack 2.0.7-beta

## Running

Expand Down Expand Up @@ -46,14 +44,6 @@ client
- tree shaking
- ES5



1. Webpack 2.0.7-beta uses `System.import` for split points
2. `System.import` needs to be polyfilled server-side with `require`.
3. TODO: Client match uses System.import to force loading
4. We render on the client.
6. We raise our arms in the air in triumph.

# Thanks

ryanflorence: https://github.com/ryanflorence/example-react-router-server-rendering-lazy-routes

0 comments on commit 78c980f

Please sign in to comment.