Multiple entry-points with React Router

Author: blittleCreated Nov 4, 2014Updated Aug 3, 2020

@petehunt thank you for this explanatory repo! It has helped a lot! One question though related to React router, how do you split entry points based upon routes? I want hitting a particular router to load another set of code.

For example, to lazy load code inside the About.js module, would you just wrap it in a require.ensure statement? Or is there something more magical with react-router and webpack? @rpflorence