Preact
A strong pick. 6th of 10 UI frameworks.
Preact is a 3 kB UI library with React's API, components, hooks and signals, and preact/compat for running many React packages. It is well maintained and Preact 11 shipped in autumn 2026. It is a strong pick when bundle size matters most, but React itself is the safer default for most full apps.
Best for: Teams that want React-style components in a very small bundle, such as embedded widgets, landing pages, Deno Fresh sites or Astro islands.
Scores
Overall7.3
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
Preact is an excellent small React-compatible runtime, it is actively maintained, and v11 is now stable. For most new full apps, React, Vue or Svelte offer bigger ecosystems, framework support and features such as RSC and concurrent rendering. It is clearly the best choice when size is the main constraint, or for Fresh and island-based sites.
- pkgpulse.com/guides/preact-vs-react-2026: Pick it when a measured size gain matters, otherwise React.
- tanstack.com/redact/latest/docs/preact: Bundle-size advantage measured.
- github releasesLastYear: Active release cadence.
GPT-6.2 Sol: 8.0, likely 7.0 to 9.0
Preact is a strong pick for new projects that want React-style development and ship very little browser JavaScript. Active maintenance, a small core, and established framework integrations make it a sound choice for widgets, islands, and standalone apps with a size budget. React is the stronger default when the project depends on a large set of React component libraries or current React APIs. The range reflects how much those dependencies can change the fit.
- github.com/preactjs/preact/releases/tag/11.2.0: Current stable release improves browser rendering and reduces bundle size
- praxisjs.org/docs/performance: Small measured browser payload for Preact with Signals
- docs.astro.build/en/guides/integrations-guide/preact: Established integration with documented compatibility limits
- github.com/preactjs/preact/issues/4977: Current gap in React API coverage
- github commitsLastYear, releasesLastYear, peers dependentRepos: Active release cadence and a much smaller installed base than React
Needed by many6.9
How many developers need a tool for this job?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Almost every web app needs a UI framework, so the category is broad. Preact's own angle, a small React-compatible runtime, appeals most where bundle size counts. It is a general browser framework, not tied to one host framework.
- pkgpulse.com/guides/preact-vs-react-2026: Recommends it for widgets, constrained delivery and size-sensitive pages.
- github description: Fast 3kB React alternative with the same modern API.
GPT-6.2 Sol: 6.7, likely 5.6 to 7.8
Keeping browser UI in sync with data is a common job, and Preact handles both standalone apps and interactive parts of larger sites. Its small runtime is most valuable on pages with a tight JavaScript budget. Survey usage shows that Preact reaches a smaller audience than React, while the share of teams with tight size budgets is hard to measure.
- 2025.stateofjs.com/en-US/libraries/front-end-frameworks: Front-end framework usage and interest trends
- preactjs.com/guide/v11/differences-to-react: Browser-native rendering and direct ES module loading
- docs.astro.build/en/guides/integrations-guide/preact: Server rendering and selective client hydration in Astro
Helps a lot7.6
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It is small, fast and correct, ships built-in types, and supports hooks, signals and a broad React compat layer. AI agents write correct code for it easily because the API mirrors React. It has no concurrent rendering, no RSC and a thinner native ecosystem, so React or Solid do some jobs better.
- tanstack.com/redact/latest/docs/preact: Measured 7.1 KiB gzipped for Preact compat 11.1 against 66.3 KiB for React 19.3.
- infoq.com/news/2025/09/preact-11-beta: Preact 11 brings hydration 2.0, default ref forwarding and Object.is in hooks.
- pkgpulse.com/guides/preact-vs-react-2026: Compat risks: portals, Suspense, React internals, React 19 APIs.
- npm hasTypes: Ships its own TypeScript types.
GPT-6.2 Sol: 8.1, likely 7.0 to 9.0
Preact 11.2 pairs a small runtime with typed JSX, documented hooks, component stacks for debugging, and improved hydration. Familiar JSX and hooks give coding agents a good starting point, although React-style event handlers and newer APIs still need checking. Preact with Signals shipped less code than React in the PraxisJS table benchmark, while Solid and Svelte ran the operations faster overall. Performance and compatibility depend on the app and its component libraries.
- github.com/preactjs/preact/releases/tag/11.2.0: Smaller bundles, event fixes, and shadow-root support
- preactjs.com/guide/v11/upgrade-guide: Hydration improvements and TypeScript changes
- preactjs.com/guide/v11/differences-to-react: Debug tooling and documented event differences
- github.com/preactjs/preact/issues/4977: Open user request for React Activity support
- praxisjs.org/docs/performance: Third-party keyed-table measurements for Preact 11 with Signals
Holds up over time7.6
Will it still be a good choice in two years?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
The project is active, with 510 commits and 27 releases in the last year. Preact 11 went stable in autumn 2026 with an upgrade guide, and issue and PR backlogs are very small. A few core maintainers carry most of the work on modest funding, which keeps the score below that of the corporate-backed peers.
- github commitsLastYear / releasesLastYear: 510 commits and 27 releases; 11.2.0 published 2026-11-06.
- github openIssues: 16 open issues against 1944 closed.
- preactjs.com/guide/v11/upgrade-guide: Migration guide for the v11 breaking changes.
- bluesky top posts: Most posts come from core maintainers, a sign of a small team.
GPT-6.2 Sol: 8.2, likely 7.1 to 9.2
Preact had 510 commits and 27 GitHub releases in the past year, and Open Collective records paid maintenance. An October user report about loading the browser server-rendering entry point drew a next-day response and a fix in 11.0.2. Recent release activity is concentrated in one maintainer, and the move to ESM in version 11 created real upgrade work for older toolchains.
- github commitsLastYear, releasesLastYear, openIssues: 510 commits, 27 releases, and 16 open issues
- opencollective.com/preact: Corporate contributions and paid maintenance
- github.com/preactjs/preact/discussions/5301: External loading report and maintainer follow-up
- github.com/preactjs/preact/releases/tag/11.0.2: Shipped fix for the browser server-rendering entry point
- github.com/preactjs/preact/actions/workflows/release.yml: One maintainer triggered most recent release runs
- preactjs.com/guide/v11/upgrade-guide: ESM migration and removal of legacy APIs
Used widely6.3
How many use it, and is that growing?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Downloads rose from 35.9M to 230.6M per 4 weeks. That ratio of 6.4 is above the 4.1 median, but much of it is transitive installs by tools and SDKs that bundle Preact. The 79k dependent repos are more than Svelte's but far fewer than React's, Vue's or Angular's. Direct choices are probably in the tens of thousands of projects.
- npm downloadsLast4Weeks: 230.6M, against 35.9M a year ago.
- dependents: 78,992 repos and 3,803 packages.
- github stars: 39k stars, close to Solid.
GPT-6.2 Sol: 6.6, likely 5.4 to 7.8
Four-week npm downloads rose from 35.9 million to 230.6 million, a 6.4× increase against the catalog's 4.1× median. Automated builds and indirect installs inflate that signal, and npm's version breakdown shows far more downloads for 10.29.8 alone than for the entire stable 11.x line. The roughly 79,000 indexed dependent repositories put Preact ahead of Svelte and Lit on this measure and well behind React, Vue, and Angular. Rising survey interest supports the growth signal, although the number of new projects choosing Preact remains uncertain.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 6.4× year-over-year growth against a 4.1× baseline
- dependents repos and packages, peers dependentRepos: 78,992 indexed repositories and 3,803 dependent packages
- github stars, bluesky posts, peers blueskyPosts: 39,011 stars and 44 Bluesky posts, fewer posts than React or Svelte
- npmjs.com/package/preact?activeTab=versions: 23 million weekly downloads for 10.29.8 and about 773,000 for 11.2.0
- github.com/Adyen/adyen-web/blob/main/packages/lib/package.json: Adyen's checkout SDK brings Preact in as a dependency
- 2025.stateofjs.com/en-US/libraries/front-end-frameworks: Interest rose while usage rankings held steady
Vouched for7.0
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 4.0 to 7.0
Frameworks build on it: Deno Fresh is built on Preact, and Astro and Vite ship official Preact integrations. Several large sites are known to have used it in production. Current independent write-ups are mostly generic comparisons, and survey data on Preact is thin.
- Deno Fresh, @astrojs/preact, @preact/preset-vite: Frameworks and build tools that build on Preact.
- infoq.com/news/2025/09/preact-11-beta: Independent coverage of the v11 release.
- 2025.stateofjs.com/en-US/libraries/front-end-frameworks: Tracked among frameworks; rankings stable.
GPT-6.2 Sol: 8.0, likely 6.9 to 9.0
Shopify recommends Preact for checkout extensions, Adyen ships it in its checkout SDK, and Fresh and Astro support it for interactive islands. State of JavaScript 2025 reports about 81% satisfaction among Preact users. Shopify and Adyen's cited setups are on version 10, so their experience gives less certainty about the latest major release.
- shopify.dev/docs/apps/build/checkout/migrate-to-web-components: Shopify recommends Preact for checkout extensions
- github.com/Adyen/adyen-web/blob/main/packages/lib/package.json: Adyen's checkout SDK depends on Preact 10
- usefresh.dev/docs/concepts/islands: Fresh builds interactive islands with Preact
- docs.astro.build/en/guides/integrations-guide/preact: Astro maintains an official Preact integration
- 2025.stateofjs.com/en-US/libraries: About 81% satisfaction among surveyed users
Safe7.5
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has zero dependencies and an MIT licence. Only two advisories exist, and the 2026 one was fixed with backports to the 10.26, 10.27 and 10.28 lines. The Scorecard is 5.8, with weak token permissions, no security policy, unsigned releases and no SAST.
- npm dependencies: 0 runtime dependencies.
- osv.dev/vulnerability/GHSA-36hm-qxxp-pg3m: JSON VNode injection from a regression, fixed in patched releases.
- scorecard: 5.8 overall; Token-Permissions, Security-Policy and Signed-Releases score 0.
GPT-6.2 Sol: 7.9, likely 6.7 to 9.0
Preact has an MIT licence, zero required runtime dependencies, and a documented trusted publishing process with staged releases and two-factor approval. The January 2026 injection advisory had fixes across three 10.x lines by disclosure, and the two listed advisories affect older releases. The 5.8 Scorecard flags weak workflow token permissions and gives zero marks for a security policy and fuzzing. npm lists six collaborator accounts, while the number that can approve a staged release is unclear.
- npm dependencies and license, scorecard checks: Zero required dependencies, MIT, strong code review, and several weak checks
- github.com/advisories/GHSA-36hm-qxxp-pg3m: January 2026 advisory lists fixes on three 10.x lines
- github.com/preactjs/preact/releases/tag/10.28.2: Patch shipped January 6 ahead of disclosure
- github.com/advisories/GHSA-cg48-9hh2-x6mx: Older injection issue was confined to early 10.0 prereleases
- github.com/preactjs/preact/blob/main/CONTRIBUTING.md: Trusted publishing with human review and two-factor approval
- npmjs.com/package/preact?activeTab=dependencies: Six npm collaborator accounts listed
Good
- The core is about 3 kB with zero dependencies. In one independent test, a compat bundle was 7 kB gzipped against 66 kB for React 19.
- It uses the same JSX and hooks API as React, so developers and AI agents can reuse their React knowledge and many React libraries through preact/compat.
- Development is active: Preact 11 brought new hydration, default ref forwarding, an ESM-first package and better tree-shaking.
- Signals offer fine-grained reactivity in a first-party package.
Bad
- It has no concurrent rendering and no React Server Components, and React-only frameworks such as Next.js do not run on it.
- preact/compat is not a guarantee: libraries that read React internals, or that need the newest React 19 APIs, can break.
- A small core team does most of the work, and the funding is modest compared with React, Vue or Angular.
- A 2025 regression reopened JSON VNode injection (a high-severity advisory, CVE-2026-22028), and the OpenSSF Scorecard is only 5.8.
The numbers
- npm downloads, 4 weeks
- 231M ×6.4 in a year
- GitHub stars
- 39k
- Commits, 12 months
- 510
- npm version
- 11.2.0 Nov 2026
- Versions, 12 months
- 22
- Advisories, 24 months
- 1 of 2 ever
- OpenSSF Scorecard
- 5.8 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (preactjs/preact), npm (preact), OSV and the OpenSSF Scorecard.