discover · compare · collections · requirements · contribute · feed · watching · stats · help with your tokens
gregberge/loadable-components · source
Snapshot 0 · 2026-11-04T12:47:24Z · JavaScript · MIT
Content fingerprint
d9dd91c8ce1ef6aaa0ed69aa69bca81f4e141bad91179a79869f8694edb14307GitHub description at capture
The recommended Code Splitting library for React ✂️✨
README at capture
<h1 align="center">
<img src="https://raw.githubusercontent.com/gregberge/loadable-components/master/resources/loadable-components.png" alt="loadable-components" title="loadable-components" width="300">
</h1>
<p align="center" style="font-size: 1.2rem;">React code splitting made easy. Reduce your bundle size without stress ✂️✨.</p>
[](https://github.com/gregberge/loadable-components/blob/master/LICENSE)
[](https://www.npmjs.com/package/@loadable/component)
[](https://www.npmjs.com/package/@loadable/component)
[](https://travis-ci.org/gregberge/loadable-components)

[](https://david-dm.org/gregberge/loadable-components?path=packages/component)
[](https://david-dm.org/gregberge/loadable-components?type=dev)
[](https://unpkg.com/@loadable/component/dist/loadable.min.js)
```bash
npm install @loadable/component
```
## [Docs](https://loadable-components.com)
**See the documentation at [loadable-components.com](https://loadable-components.com)** for more information about using Loadable Components!
Quicklinks to some of the most-visited pages:
- [**Getting started**](https://loadable-components.com/docs/getting-started/)
- [Comparison with React.lazy](https://loadable-components.com/docs/loadable-vs-react-lazy/)
- [Server Side Rendering](https://loadable-components.com/docs/server-side-rendering/)
## Example
```js
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](/BACKERS.md). If you'd like to join them, please consider:
- [Sponsor me on GitHub ❤️](https://github.com/sponsors/gregberge).
## License
Licensed under the MIT License, Copyright © 2017-present Greg Bergé.
See [LICENSE](./LICENSE) for more information.