preactjs/preact

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

View on GitHub ↗Jump to charts ↓Open shareable report →

preactjs/preact has 38k+ stars and 4.5k+ forks on GitHub, is written in JavaScript, and was last pushed on Oct 17, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 29 minutes ago
Type:FrameworkCategory(s):Frontend FrameworksWeb Development
Added to GitGenius on June 18th, 2022
Created on September 11th, 2015
Open Issues & Pull Requests: 43 (+0)
GitHub issues: Enabled
Number of forks: 4,819
Total Stargazers: 38,937 (+1)
Total Subscribers: 393 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 17.6 hours
Mean response time: 474.6 days
90th percentile: 1652.1 days
Tracked items: 341

Maintainer activity

2 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 18, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits. How this is counted.

How this project is maintained

About 4% of issues opened in the past year have never received a reply. Work labelled "question" is answered fastest, typically in under an hour, while "types" waits about 11 months. 91% of issues opened in the past year have since been closed. Three people close 89% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 15
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 1,358 days
Stale 30+ days: 11
Stale 90+ days: 9

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 2
Events in 7 days: 5

Top labels

  • feature request (65)
  • types (65)
  • question (60)
  • bug (56)
  • compat (54)
  • discussion (46)
  • needs-more-info (28)
  • help wanted (26)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Preact is a lightweight JavaScript framework that provides a fast alternative to React, packaged at 4kB in size. It delivers the full power of virtual DOM components and modern React-style APIs without the overhead associated with larger frameworks. The project is written in JavaScript and maintains a focus on performance optimization while preserving developer familiarity through React-compatible patterns.

The core functionality of Preact centers on component-based UI development using virtual DOM technology. Developers can write components as ES6 classes, functional components, or using React hooks, with support for JSX syntax or HTM as alternative markup approaches. The framework includes a highly optimized diff algorithm that minimizes DOM operations by calculating differences between component states and updating only what has changed. Preact also supports server-side rendering with seamless hydration, allowing applications to render on the server and continue interactively on the client.

Preact's compatibility layer, accessible via the preact/compat alias, provides extensive React compatibility, enabling developers to use existing React libraries and patterns with minimal friction. The framework includes comprehensive tooling support through DevTools integration, hot module replacement for development workflows, and transparent asynchronous rendering with a pluggable scheduler. All modern browsers are supported, and the framework works across isomorphic and custom element use cases.

The repository is currently in active development on the main branch, which represents an upcoming release, while the v10.x branch maintains patches for version 10.

The project's contributor base overlaps with major repositories including Microsoft's VSCode and TypeScript implementations, as well as the Rust language project, suggesting influence from and collaboration with significant open-source ecosystems.

The framework is positioned as a performance-focused, modular architecture for building user interfaces with functional programming patterns. It emphasizes efficiency through its minimal bundle size while maintaining the developer experience patterns that React users expect. The project maintains an ecosystem of related libraries documented in the awesome-preact list and receives backing from notable sponsors including Snyk, The Guardian, Deno, and various individual contributors through its OpenCollective funding model.