Preact
Some data may be outdated — see provenance labels.
⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM. observed · 2026-09-25
Health v2 · maintenance only
93/100
- Activity 94
- Release rhythm 88
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 13
- age_days: 4058
- days_rel: 80
- days_push: 36
- n_releases_24m: 34
Adoption not part of the score
38886 stars · 2717 forks observed · 2026-09-25
What it is AI-extracted, prompt v1, taxonomy v1, 2026-09-28, confidence 0.97
Preact is a fast, 3‑4 kB JavaScript library that provides a React‑compatible API with a tiny Virtual DOM implementation. It can be used for building interactive web UIs, progressive web apps, and server‑side rendered pages.
Use cases
- build a small, high‑performance single‑page application
- replace React in a project to reduce bundle size
- create reusable UI components with JSX or HTM syntax
- develop a progressive web app with minimal tooling
- render components on the server for SEO-friendly pages
When to choose
- you need React‑like development experience but want a much smaller bundle
- performance and low memory usage are critical for your web app
- you want easy integration with existing React code via preact/compat
- you are targeting modern browsers and can avoid legacy polyfills
When to avoid
- your project relies on React features not supported by Preact (e.g., PropTypes, certain synthetic events)
- you must support very old browsers without polyfills (IE11 or older)
- you need a full‑featured ecosystem that only React provides out of the box
Facets
library · maturity active
ui-components frontend-framework ssr routing web-development frontend browser cross-platform lightweight virtual-dom react-compat hooks jsx nodejs
10 sources
- readme: https://github.com/preactjs/preact · fetched 2026-09-25 · f00fdefcb4c8
- homepage: https://preactjs.com · fetched 2026-09-14 · 0d03c4b28b13
- site_page: https://preactjs.com/guide/v10/getting-started · fetched 2026-08-29 · 1baad012dd68
- site_page: https://preactjs.com/about/libraries-addons · fetched 2026-09-14 · 833de14ef33e
- site_page: https://preactjs.com/about/we-are-using · fetched 2026-09-14 · 954de9c57e9a
- site_page: https://preactjs.com/about/demos-examples · fetched 2026-09-14 · bb27edfcdbee
- site_page: https://preactjs.com/guide/v11/getting-started · fetched 2026-09-14 · 344c4c903af2
- site_page: https://preactjs.com/about/project-goals · fetched 2026-09-14 · b6fda5c2da82
- site_page: https://preactjs.com/about/browser-support · fetched 2026-09-14 · 0f2bbc4768de
- registry_npm: https://registry.npmjs.org/preact-cli · fetched 2026-09-14 · 4238313d4c3c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| preactjs/preact | main | 93 |
| preactjs/preact-cli | plugin | 23 |
| preactjs/preact-router | plugin | 23 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem