Preact

3kb alternative to React with the same ES6 API.

+ 78
$21,465
Estimated annual budget based on current donations

Preact is a tiny 3kb implementation of the core value proposition of React - Virtual DOM Components.

It is narrowly focussed on striking an ideal balance between minimalism and utility.

Closer to the Metal

Preact provides the thinnest possible Virtual DOM abstraction on top of the DOM. The web is a stable platform, it's time we stopped reimplementing it in the name of safety.

Preact is also a first-class citizen of the web platform. It diffs Virtual DOM against the DOM itself, registers real event handlers, and plays nicely with other libraries.

Small & Fast

🎁 Good things come in small packages

Most UI frameworks are large enough to be the majority of an app's JavaScript size. Preact is different: it's small enough that your code is the largest part of your application.

That means less JavaScript to download, parse and execute - leaving more time for your code, so you can build an experience you define without fighting to keep a framework under control.

🚗 Need for speed

Preact is fast, and not just because of its size. It's one of the fastest Virtual DOM libraries out there, thanks to a simple and predictable diff implementation.

It even includes extra performance features like customizable update batching, optional async rendering, recycling and optimized event handling via Linked State.

🎒 Portable and embeddable

Preact's tiny footprint and isolated nature lets you take the Virtual DOM Component paradigm places it couldn't otherwise go.

Use Preact to build parts of an app without complex integration. Embed Preact into a widget and apply the same tools and techniques that you would to build a full app.

Instantly Productive

Lightweight is a lot more fun when you don't have to sacrifice productivity to get there. Preact gets you productive right away.

🙌 Harness the React ecosystem

Virtual DOM Components make it easy to share reusable things - everything from buttons to data providers. Preact's design means you can seamlessly use thousands of Components available in the React ecosystem.

Adding a simple preact-compat alias to your bundler provides a compatibility layer that enables even the most complex React components to be used in your application.

⚡️ Built-in bonus features

  • props, state and context are passed to render()
  • Linked State replaces repetitive event handler code
  • Use standard HTML attributes like class and for

Events

No event has been scheduled yet.

Create an Event

9 organizations are supporting Preact

74 people are supporting Preact

Budget

$11,421

Latest expenses

Latest transactions

Donation made by Travis Arnold on Dec 15, 2017 | View Details
$5.00
Donation made by Bakken & Bæck on Dec 14, 2017 | View Details
$250.00
Donation made by Maciej Ziehlke on Dec 12, 2017 | View Details
$2.00
Donation made by Threadless Shop on Dec 12, 2017 | View Details
$20.00
Donation made by Threadless Shop on Dec 12, 2017 | View Details
$38.00