Open stream7 opened 6 years ago
This actually works right now (not if you are using the Switch component) but it does load all of the chunks at once so I'm going to leave it open for now.
Hello! Yes, this works right now just like you describe. It'd be nice to do lazy loading, let's leave this open. When I have some time I'll try and see what I can do.
Regarding the Switch, you shouldn't use it with SwipeableRoutes. Route components should be direct descendants of SwipeableRoutes, it acts just like a Switch. Maybe I should clarify that in docs.
Hi there,
Any plans to support https://reacttraining.com/react-router/web/guides/code-splitting ?