React code splitting made easy. Reduce your bundle size without stress ✂️✨.
[](https://github.com/smooth-code/loadable-components/blob/master/LICENSE) [](https://www.npmjs.com/package/@loadable/component) [](https://www.npmjs.com/package/@loadable/component) [](https://travis-ci.org/smooth-code/loadable-components)  [](https://david-dm.org/smooth-code/loadable-components?path=packages/component) [](https://david-dm.org/smooth-code/loadable-components?type=dev) [](https://unpkg.com/@loadable/component/dist/loadable.min.js) ```bash npm install @loadable/component ``` ## [Docs](https://www.smooth-code.com/open-source/loadable-components) **See the documentation at [smooth-code.com/open-source/loadable-components](https://www.smooth-code.com/open-source/loadable-components)** for more information about using Loadable Components! Quicklinks to some of the most-visited pages: - [**Getting started**](https://www.smooth-code.com/open-source/loadable-components/docs/getting-started/) - [Comparison with React.lazy](https://www.smooth-code.com/open-source/loadable-components/docs/loadable-vs-react-lazy/) - [Server Side Rendering](https://www.smooth-code.com/open-source/loadable-components/docs/server-side-rendering/) ## Example ```js import loadable from '@loadable/component' const OtherComponent = loadable(() => import('./OtherComponent')) function MyComponent() { return (