Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

loadable-components

> 前端框架
Open source

The recommended Code Splitting library for React ✂️✨

7.8K stars0 likes0 views
WebsiteGitHub

About

The recommended Code Splitting library for React ✂️✨

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

bash
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:

  • Getting started
  • Comparison with React.lazy
  • Server Side Rendering

Example

javascript
import loadable from '@loadable/component'

const OtherComponent = loadable(() => import('./OtherComponent'))

function MyComponent() {
  return (
    

  )
}

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:

  • Sponsor me on GitHub ❤️.

License

Licensed under the MIT License, Copyright © 2017-present Greg Bergé.

See LICENSE for more information.

Issues· 53 open

View all issuesOpen on GitHub
  • #1034

    Customizable webpackChunkName

    Updated Apr 1, 2026
  • #1033

    Use of ChunkExtractor outside of Express server

    Updated Dec 3, 2025
  • #1031

    Preload css only with getLinkTags

    Updated Oct 14, 2025
  • #1028

    How to get loadable-stats.json in Vite?

    Updated Jul 27, 2025
  • #1029

    Potential change to support `lazy` with SSR

    Updated Jul 26, 2025
  • #1021

    TypeScript Type Compatibility Issues with React 19.0.0

    Updated Jul 2, 2025
  • #1023

    Why is the cjs suffix not supported?

    Updated Jun 1, 2025
  • #997

    Loading state is always true on first render

    Updated Mar 21, 2025
  • #1018

    Type is lost when using loadable in generic

    Updated Jan 17, 2025
  • #1017

    Type declarations in @types/loadable__component are broken when using typescript's moduleResolution:nodenext option

    Updated Jan 17, 2025

> Tags

JavaScriptcode-splittingdynamic-importreactreact-async-component

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架