292
214
+ 1
24

What is Preact?

Preact is an attempt to recreate the core value proposition of React (or similar libraries like Mithril) using as little code as possible, with first-class support for ES2015. Currently the library is around 3kb (minified & gzipped).
Preact is a tool in the Javascript UI Libraries category of a tech stack.
Preact is an open source tool with 29.5K GitHub stars and 1.6K GitHub forks. Here’s a link to Preact's open source repository on GitHub

Who uses Preact?

Companies
28 companies reportedly use Preact in their tech stacks, including Google, frontend, and Didomi.

Developers
128 developers on StackShare have stated that they use Preact.

Preact Integrations

React, Builder, JSFiddle, Snowpack, and Moveable are some of the popular tools that integrate with Preact. Here's a list of all 9 tools that integrate with Preact.
Pros of Preact
13
Lightweight
4
Drop-in replacement for React
3
Props/state passed to render
3
Performance
1
ES6 class components

Blog Posts

+12
5
3300

Preact Alternatives & Comparisons

What are some alternatives to Preact?
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
Inferno
Inferno is an isomorphic library for building high-performance user interfaces, which is crucial when targeting mobile devices. Unlike typical virtual DOM libraries like React, Mithril, Virtual-dom, Snabbdom and Om, Inferno uses techniques to separate static and dynamic content. This allows Inferno to only "diff" renders that have dynamic values.
Glimmer
Glimmer is one of the fastest DOM rendering engines, delivering exceptional performance for initial renders as well as updates.
Mithril
Mithril is around 12kb gzipped thanks to its small, focused, API. It provides a templating engine with a virtual DOM diff implementation for performant rendering, utilities for high-level modelling via functional composition, as well as support for routing and componentization.
act
Rather than having to commit/push every time you want test out the changes you are making to your .github/workflows/ files (or for any changes to embedded GitHub actions), you can use this tool to run the actions locally. The environment variables and filesystem are all configured to match what GitHub provides.
See all alternatives

Preact's Followers
214 developers follow Preact to keep up with related blogs and decisions.