Skip to content
JS
Package

preact-compat

A React compatibility layer for Preact

v3.19.0MITESM + CommonJSTypes: NoneReact
$ npm install preact-compat

Key numbers

As of 25 Sept 2026
Weekly downloads
56.3k
+3% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
6
Direct, from package.json
Last release
-
v3.19.0
GitHub stars
943
124 forks
Open issues / PRs
38 / 8
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60kSept 2025Mar 2026Sept 2026High 57.5k (25 Nov 2025)Low 19.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

56,304 downloads last week, 211,786 in the last month. The 12-month change of +3% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.19.0
First published
-
Last push to GitHub
15 Dec 20211,744 days before the snapshot
Repository archived
Yes
Open issues
38
Open pull requests
8
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
212 kB
Dependencies (6)
prop-typespreact-contextimmutability-helperpreact-render-to-stringpreact-transition-groupstandalone-react-addons-pure-render-mixin
Peer dependencies (1)
preact
npm install preact-compat
  • jsDelivrhttps://cdn.jsdelivr.net/npm/preact-compat@3.19.0/
  • unpkghttps://unpkg.com/preact-compat@3.19.0/
  • esm.shhttps://esm.sh/preact-compat@3.19.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.