
Preact
JavaScript library for building component-based user interfaces on a virtual DOM, with a React-compatible API through an optional alias.
Preact is a JavaScript library for building component-based user interfaces on a virtual DOM. The homepage describes it as an alternative to React with the same modern API and says it can be used directly in the browser without transpilation. The server-side rendering guide describes a Node.js streaming method for rendering to HTML. New projects are set up with npm init preact, and the license names Jason Miller as the copyright holder.
The getting-started guide says libraries and components written for React work with Preact’s compatibility layer once react and react-dom imports are aliased to Preact.
Identity
- Status
- Active
- Maintainer
- Jason Miller3
Rendering and deploy
- Install with
- npm init preact (create-preact), or a no-build script import2
Releases
Adoption
Sources
- 2026-10-22: links, Written in, GitHub stars
api.github.com/repos/preactjs/preact - 2026-10-22: links, Install with
preactjs.com/guide/v11/getting-started - 2026-10-22: Maintainer, License, License model
raw.githubusercontent.com/preactjs/preact/main/LICENSE - 2026-10-22: Categories
preactjs.com - 2026-10-22: Runtime
preactjs.com/guide/v11/server-side-rendering - 2026-10-22: Current major version, Last release
api.github.com/repos/preactjs/preact/releases - 2026-10-22: Contributors
api.github.com/repos/preactjs/preact/contributors - 2026-10-22: npm downloads a week
api.npmjs.org/downloads/point/last-week/preact - 2026-10-25: Sites using it (HTTP Archive)
cdn.httparchive.org/v1/technologies - 2026-10-25: Dependent repositories, Dependent packages
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/preact