Webpack2 学习笔记(八): 动态加载react-router路由依赖组件
react项目代码优化
https://www.udemy.com/webpack-2-the-complete-developers-guide/
优化前示例代码:router.js
import React from 'react';
import { Router, Route, IndexRoute, hashHistory } from 'react-router';
import Home fro...