loadable-components

React code splitting made easy ✂️✨

Github星跟蹤圖

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.

主要指標

概覽
名稱與所有者gregberge/loadable-components
主編程語言JavaScript
編程語言JavaScript (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2017-06-23 07:51:02
推送於2025-05-18 01:23:54
最后一次提交
發布數74
最新版本名稱v5.16.7 (發布於 2025-05-18 11:20:15)
第一版名稱v0.1.0 (發布於 2017-06-23 16:00:41)
用户参与
星數7.8k
關注者數49
派生數388
提交數526
已啟用問題?
問題數612
打開的問題數26
拉請求數219
打開的拉請求數19
關閉的拉請求數163
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?