+ 1

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

Who uses Preact?

24 companies reportedly use Preact in their tech stacks, including Google, Bigblue Platform, and 2020.

94 developers on StackShare have stated that they use Preact.

Preact Integrations

React, Builder, JSFiddle, Moveable, and Proppy are some of the popular tools that integrate with Preact. Here's a list of all 7 tools that integrate with Preact.
Public Decisions about Preact

Here are some stack decisions, common use cases and reviews by companies and developers who chose Preact in their tech stack.

Dmitry Mukhin
Dmitry Mukhin

Simple controls over complex technologies, as we put it, wouldn't be possible without neat UIs for our user areas including start page, dashboard, settings, and docs.

Initially, there was Django. Back in 2011, considering our Python-centric approach, that was the best choice. Later, we realized we needed to iterate on our website more quickly. And this led us to detaching Django from our front end. That was when we decided to build an SPA.

For building user interfaces, we're currently using React as it provided the fastest rendering back when we were building our toolkit. It鈥檚 worth mentioning Uploadcare is not a front-end-focused SPA: we aren鈥檛 running at high levels of complexity. If it were, we鈥檇 go with Ember.js.

However, there's a chance we will shift to the faster Preact, with its motto of using as little code as possible, and because it makes more use of browser APIs. One of our future tasks for our front end is to configure our Webpack bundler to split up the code for different site sections. For styles, we use PostCSS along with its plugins such as cssnano which minifies all the code.

All that allows us to provide a great user experience and quickly implement changes where they are needed with as little code as possible.

See more
Riderman De Sousa Barbosa
Riderman De Sousa Barbosa
Shared insights

The first and most important premise is that should be fast.. really fast. This premise was basically because this is an PWA project, and the main goal of this project are be more efficient on restaurant.

So I ended up choosing Preact instead React .

This made the app (PWA) more faster, not only when navigating but improve TTI and data usage.

See more

Preact Alternatives & Comparisons

What are some alternatives to Preact?
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 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 is one of the fastest DOM rendering engines, delivering exceptional performance for initial renders as well as updates.
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.
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
159 developers follow Preact to keep up with related blogs and decisions.
Metin 脰zkan
Rei Elkey
Anucha Kaewnil
Bruno Ota
Christian Rohowski
Ronen Klein
Anderson Braz
kishore kumar Burra
Mikko Karjanmaa