434
288
+ 1
28

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 GitHub stars and GitHub forks. Here’s a link to Preact's open source repository on GitHub

Who uses Preact?

Companies
66 companies reportedly use Preact in their tech stacks, including Google, frontend, and loveholidays.

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

Preact Integrations

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

Blog Posts

JavaScriptGitHubReact+12
5
4205

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
288 developers follow Preact to keep up with related blogs and decisions.