2019-07-15 10:33:23 +02:00
2019-05-23 16:47:04 +02:00
2019-06-06 15:18:31 +02:00
2017-10-10 21:53:47 +00:00
2019-06-05 16:49:00 +02:00
2018-12-06 16:45:45 +01:00
2019-07-15 10:33:23 +02:00
2018-10-31 21:16:34 +01:00
2018-12-06 16:45:45 +01:00
2018-02-02 15:24:21 +01:00
2018-10-29 13:04:07 +01:00
2019-04-22 17:59:33 +02:00
2019-05-14 10:02:58 +02:00
2018-10-29 14:54:48 +01:00
2018-12-06 16:45:45 +01:00
2019-05-14 10:02:58 +02:00
2017-06-23 15:34:04 +02:00
2019-04-23 11:38:35 +02:00
2019-06-06 15:18:31 +02:00
2019-04-22 17:59:33 +02:00
2019-06-06 15:18:31 +02:00

loadable-components

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

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

npm install @loadable/component

Docs

See the documentation at smooth-code.com/open-source/loadable-components 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:

Gold Sponsors

Gold Sponsors are those who have pledged $100/month and more to loadable.

gold-sponsors

License

Licensed under the MIT License, Copyright © 2017-present Smooth Code.

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%