Now I am using react-route to control my routes!
You know I tried to build a single page app. There is only one entry file named
index.js
When index.js is too heavy loading time will very long. Maybe 10000ms.
But there are many routes why must loaded them all first? If I can lazyload route not only child routes.
When I go to admin route it will load js file of admin and about will load js file of about , can I?
webpack bundle will have two files [name].js and come.js. But it too heavy.
Anyone meet the same problem?