Install
preact
Fast 4kb React-compatible Virtual DOM library.
11.2.0Latest, 6 Nov 2026
238MDownloads, last month
0Advisories on the latest
2Advisories, all versions
MITLicence
39KStars
5.7/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | Preact has JSON VNode Injection issue CVE-2026-22028 | Fixed in 10.26.10, 10.27.3, 10.28.2 | 7 Jan 2026 |
| Moderate | HTML Injection in preact GHSA-cg48-9hh2-x6mx | Fixed in 10.0.0-beta.1 | 2 Sep 2020 |
In the news
- Clinton students named PreACT Early Scholars thecabin.net, 19 Aug 2026
- What is Preact and how it works hostinger.com, 29 May 2026
- Hono + Preact - The Ultimate Starter for Web Apps I Can Think Of dev.to, 14 Dec 2025
- Use Gadget's Preact hooks to build Shopify UI extensions dev.to, 12 Nov 2025
- Deploying a Preact App with K3s Locally: A Beginner's Guide dev.to, 5 Nov 2025
On Hacker News
- Preact, a fast 3k React alternative 224 points, 134 comments, 28 Jan 2016
- Preact Signals 159 points, 105 comments, 6 Sep 2022
- Preact: Fast 3kb React Alternative with the Same API, Components and Virtual DOM 117 points, 50 comments, 11 Dec 2020
- Preact: Countering the Perception That Open Source Must Be Free 103 points, 47 comments, 13 Mar 2017
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 20 Nov 2026.