fullstackreact / react-gen-generator

Generator for the yelp-clone template format
MIT License
17 stars 2 forks source link

Question: lazy loading #10

Open alisman opened 8 years ago

alisman commented 8 years ago

There is a nice example of lazy loading here (about page) but I'm struggling to understand what needed to be configured/installed to make this work. There are a lot of tutorials around for lazy loading, but from what I can see the only thing that was done here is to use getComponent in the route. Is this now handled under hood by webpack and router?