(Shameless plug)
I wrote this library react-loadable to standardize the workflow around code-splitting at the component-level and asynchronously loading components. I wrote a blog post too.
Facebook does code-splitting this way too.
I think we should be encouraging more of the community to do this since I've heard of people dropping 100s of KBs from their bundles. It's really more a pattern than a library anyways.
(Shameless plug)
I wrote this library react-loadable to standardize the workflow around code-splitting at the component-level and asynchronously loading components. I wrote a blog post too.
Facebook does code-splitting this way too.
I think we should be encouraging more of the community to do this since I've heard of people dropping 100s of KBs from their bundles. It's really more a pattern than a library anyways.