gregberge/loadable-components
gregberge/loadable-components has 7,795 GitHub stars and 385 forks. GitHot measured +1 stars in 24 hours. Last checked 2026-11-04 23:13 UTC. Last push 2025-05-18.
The recommended Code Splitting library for React ✂️✨
Measured star growth
- in 24h
- +1
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalReact code splitting made easy. Reduce your bundle size without stress ✂️✨.
npm install @loadable/component
Docs
See the documentation at loadable-components.com for more information about using Loadable Components!
Quicklinks to some of the most-visited pages:
Example
import loadable from '@loadable/component'
const OtherComponent = loadable(() => import('./OtherComponent'))
function MyComponent() {
return (
<div>
<OtherComponent />
</div>
)
}
Supporting Loadable Components
Loadable Components is an MIT-licensed open source project. It's an independent project with ongoing development made possible thanks to the support of these awesome backers. If you'd like to join them, please consider:
License
Licensed under the MIT License, Copyright © 2017-present Greg Bergé.
See LICENSE for more information.
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,587 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
376,903 starsreact/react
The library for web and native user interfaces.
251,984 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,490 stars