react-keeper
react-keeper copied to clipboard
动态加载组件
<Route loadComponent={ (callback)=>{ System.import('../Products.js').then((Products)=>{ callback(Products) }) } } path='/products'/> 这个方法并不能动态加载组件啊
这个使用需要配合webpack多入口打包。推荐使用webpack的import()函数
@jiang263 https://github.com/vifird/react-keeper/issues/44