2025-05-18 11:21:23 +10:00
2020-01-09 21:00:21 +01:00
2021-12-12 18:33:14 +11:00
2025-05-18 11:20:15 +10:00
2019-12-25 15:14:18 +01:00
2021-01-25 00:03:14 +11:00
2019-07-15 10:33:23 +02:00
2025-05-18 11:21:23 +10:00
2025-05-18 11:13:02 +10:00
2020-10-22 19:07:35 +11:00
2018-02-02 15:24:21 +01:00
2024-04-13 19:11:04 +10:00
2019-12-06 15:06:35 +01:00
2025-05-18 11:20:15 +10:00
2019-12-06 15:06:35 +01:00
2025-05-18 11:20:15 +10:00
2019-12-06 15:06:35 +01:00
2019-12-06 13:30:19 +01:00
2025-05-18 11:19:28 +10:00
2019-12-06 15:08:03 +01:00
2025-05-18 11:19:28 +10:00

loadable-components

React code splitting made easy. Reduce your bundle size without stress ✂️.

License npm package npm downloads Build Status Code style Dependencies DevDependencies Small size

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.

Description
The recommended Code Splitting library for React ✂️
Readme MIT 20 MiB
Languages
JavaScript 70.8%
MDX 28.7%
Shell 0.5%