Elestia Open Source Ratings
7.3

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.

WebsiteGitHubnpm

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

UI frameworks

  1. 9.0React
  2. 8.3Svelte
  3. 8.3Vue
  4. 7.8Angular
  5. 7.4Solid
  6. 7.3Preact
  7. 7.1htmx
  8. 7.0Alpine.js
  9. 6.9Lit
  10. 5.4Ember.js
Compare all 10 on six scores