Skip to content
Frontend Nav
中文 (Language)

Recommend a site

Leave a name and a URL — submitting opens the recommendation page on GitHub to finish.

Fast 3kB alternative to React with the same modern API - the king of widgets and embeds

Content updated · 2026-10-13

What is it · 它是什么

What is Preact?

Preact is a "fast 3kB alternative to React with the same modern API": close to the native DOM, tiny and fast, with a preact/compat alias that lets you use libraries from the React ecosystem directly. When embedding interactive widgets in constrained environments (small tools, micro front-ends, byte-conscious scenes), it is the standard answer. v11 shipped in October 2026.

How to use · 怎么用

How to use Preact

  1. Start new projects on Preact; switch existing React projects via the compat alias.
  2. Default to it for widgets and embeds where size wins most.
  3. Add preact/compat before installing React-ecosystem libraries.

Key features · 核心特点

Key features of Preact

  • About 3kB with the same modern React API
  • preact/compat for the React ecosystem
  • Close to the DOM, fast rendering
  • New v11 (2026-10), open source and free

Related sites

12 free 3D tools in one page - image-to-3D, normal maps, remesh, reduce; file tools stay local

The framework for content-driven sites — zero JS by default, React/Vue islands where needed

The world's most popular front-end framework - v6 brings CSS-first theming and AI-assistant docs