react-bits icon indicating copy to clipboard operation
react-bits copied to clipboard

React Loadable

Open jamiebuilds opened this issue 7 years ago • 2 comments

(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.

jamiebuilds avatar Mar 30 '17 03:03 jamiebuilds

+1

elreeda avatar Mar 30 '17 08:03 elreeda

This is great. I agree this pattern is something we should encourage more. Been a pretty busy week so far, I shall try to put a section for this by the weekend. Open to accept PRs as well for a section on this.

Thank for sharing it @thejameskyle 👍

vasanthk avatar Mar 30 '17 14:03 vasanthk