preactjs

    preactjs/preact

    ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

    39.0K stars
    3.2K forks
    388 GitHub watchers
    Updated Nov 8, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 1 day ago, with 357 contributors on GitHub.

    Peaked at #87 in the weekly ranking the week of Jan 25, its best in the past year.

    Use Cases & Benefits

    • Provides a fast, lightweight alternative to React with a modern API for building UI components using Virtual DOM.
    • Delivers React compatibility and performance benefits in a 4kB package, enabling smaller bundle sizes and faster load times.
    • Use for developing high-performance web apps where minimizing JavaScript size is critical without sacrificing React-like features.
    • Use for projects requiring seamless server-side rendering and hydration with an optimized diffing algorithm.
    • Use for integrating React-compatible components in environments with limited resources or older browsers due to broad compatibility.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Fast 4kB alternative to React with the same modern API.

    All the power of Virtual DOM components, without the overhead:

    💁 Note: You don't need ES2015 to use Preact... but give it a try!

    Excerpt from the preactjs/preact README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Sep 28: +2

    +163 stars over 80 days across 8 snapshot days; best day +2 on Sep 28.

    Forks

    3.2K+1.1K

    Open issues

    38-2

    Compared with peers in Frontend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    preactjs/preact compared with Frontend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    heygen-com/hyperframes82.3K+4.0K75today
    remotion-dev/remotion72.3K+1.9K751 day ago
    DuarteSantos8/openGym20.8K+1.7K757 days ago
    superplanehq/superplane9.8K+1.0K7513 days ago
    chthollyphile/folia-major12.3K+92875today
    preactjs/preact39.0K—651 day ago
    Category median20.8K+1.7K75—

    Discover Repositories

    Search across tracked repositories by name or description