First of all, great work there!
As Webpack provides require.ensure() for code-splitting, any idea how to use that with the react-router so that I can lazy load all the components of the routes?
Please help!
I have used this example for code splitting to lazy load with webpack
https://github.com/rackt/react-router/tree/master/examples/partial-app-loading
That's awesome Ajay! Thanks.
It seems the link is no longer working. Is there any other example?
@djanosik
The example is for 0.13 and can still be found here: https://github.com/rackt/react-router/tree/v0.13.3/examples/partial-app-loading
Most helpful comment
@djanosik
The example is for 0.13 and can still be found here: https://github.com/rackt/react-router/tree/v0.13.3/examples/partial-app-loading