# gregberge/loadable-components

The recommended Code Splitting library for React ✂️✨

Repository: https://github.com/gregberge/loadable-components
Canonical: https://ross.abutalabs.com/products/loadable-components
Homepage: https://loadable-components.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: react, ssr, webpack, code-splitting, react-router, server-side-rendering, dynamic-import, react-loadable, react-async-component
Last push: 2025-05-18T01:23:54+00:00

## Health v2 (maintenance only)
Score: 33/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 22, release rhythm 8, longevity 100
- inputs: {"age_days": 3358, "days_push": 473, "days_rel": 473, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7802, forks 386 (observed 2026-08-28T04:10:05.094463+00:00)

## What it is
Loadable Components is a React code splitting library that lets you render dynamic imports as regular components, reducing bundle size. It supports server-side rendering, prefetching, and full dynamic imports, and is recommended by the React team for SSR-compatible code splitting.

## Use cases
- split react components into separate bundles
- code splitting with server side rendering in react
- reduce react app bundle size
- lazy load react components with dynamic imports
- prefetch react chunks before render
- alternative to react.lazy with ssr support

## When to choose
- you need code splitting that works with server-side rendering
- you want prefetching and full dynamic import support beyond React.lazy
- you use webpack and want automatic chunk name generation

## When to avoid
- you only need client-side lazy loading and React.lazy suffices
- your project does not use webpack or a compatible bundler setup

## Facets
- artifact type: library
- maturity: stable
- function: ssr, frontend-framework, build-tool
- domain: web-development, frontend, performance
- platform: browser
- tags: react, code-splitting, dynamic-import, webpack, react-router, bundle-size, nodejs, web-server

## Member repositories
- gregberge/loadable-components (main) score 33

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:05.094463+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:34:38.130117+00:00, confidence not recorded.
  - readme: https://github.com/gregberge/loadable-components (fetched 2026-08-28T04:10:05.094463+00:00, sha d9dd91c8ce1e)
  - homepage: https://loadable-components.com (fetched 2026-08-29T08:31:12.416136+00:00, sha 5359d570d473)
  - site_page: https://loadable-components.com/docs/getting-started (fetched 2026-08-29T08:31:12.425030+00:00, sha 1f1e454d2751)
- Data as of 2026-08-30T08:39:29.467469+00:00.
