Preact VS Vue.js

Compare Preact vs Vue.js and see what are their differences.


⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM. (by preactjs)


🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web. (by vuejs)
Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
Preact Vue.js
43 232
30,758 192,401
1.2% 0.8%
8.3 8.0
5 days ago 8 days ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of Preact. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-21.
  • Let me critique your site's FE perf
    5 projects | | 21 Jan 2022
    Your JS bundle size is really inflated because of React, I suspect you could move to Preact and drastically reduce your overall JS package. I haven't done this with Next.js before, but it looks like there is some good reading out there on the subject.
  • Why you have to use className in React, but not in Preact?
    1 project | | 13 Jan 2022
    You see, there is a JS framework, called Preact. It's an alternative to React with the same API. And there is a very interesting statement on its official page.
  • Building Chrome extension with Vite ⚡️
    3 projects | | 6 Jan 2022
    In this article, we will create a simple Chrome extension, that will be responsible for displaying recent top posts from DEV Community. For this, we will use Preact bootstrapped with Vite build tool.
  • Preact Async Rendering
    2 projects | | 5 Jan 2022
    Bear in mind that this is still under review by the Preact team but if you need it desperately like us, feel free try out the preact-async package on npm. I'm hoping that Preact team will accept this change and get it into the main package.
  • My Evaluation of SvelteKit for Full-Stack Web App Development
    17 projects | | 5 Jan 2022
    [2] "preact-compat adds somewhere around 2kb to your bundle size, but has the advantage of supporting the vast majority of existing React modules you might find on npm"
  • Anyone Know How I Could Replicate This Look for my site? It's
    1 project | | 20 Dec 2021
    Not sure what exactly you would like to replicate but frontend is done with Preact . Hope that helps.
  • Vala reactive programming
    2 projects | | 6 Dec 2021
    I've been doing some web programming using preact these last weeks and one of the things that impressed the most was the way logic and UI are split in code. When doing functional components this is specially explicit. Your function returns whatever should be displayed by the component and receives a props object containing all the information the components need to render. A component rerenders when some of its props are changed, either because an external component made changes or in response to an event.
  • How to use Preact with Astro
    2 projects | | 21 Nov 2021
    Preact is a "Fast 3kB alternative to React with the same modern API". It's smaller than React but shares most of it's features (Hooks, Context), so you can write normal React code but benefit from better performance.
  • Don't Optimize Your React App, Use Preact Instead
    4 projects | | 1 Nov 2021
    A few months ago, I wrote an article based on optimizing react loading time, and most of the reader's comments were to try Preact to get default optimization. So I decided to try preact with the same app used for the previous article. Let's first get an intro about Preact.
  • 🥑 Put your React on a diet
    4 projects | | 21 Oct 2021
    For a long time I heard people complaining that React & ReactDOM has a huge size, and everyone recommended to use Preact instead.


Posts with mentions or reviews of Vue.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-22.
  • Getting started with Adonis, Vue & Inertia
    6 projects | | 22 Jan 2022
    VueJS: The Client
  • Thoughts about the state of Vue & the 2/3 transition
    3 projects | | 21 Jan 2022
    1) There is no updated roadmap/guidance for Vue changes - the timeline/roadmap was last updated 2 years ago. When people don't know what to expect going forward, often they assume the worst (even if it's not true!).
  • Releasing a pomodoro app #1: programming bit by bit
    4 projects | | 21 Jan 2022
    I also thought that making such an app should not be so difficult, maybe I could create something even better. I just had to decide on the platform and tooling, but since I was already looking at web apps and I already had some experience with Nuxt and Vue.js, I believed that I could leverage them to build my very own take on a great timer application. Time to start building it!
  • Introducing Almost Netflix: Netflix clone built with Vue and Appwrite
    5 projects | | 19 Jan 2022
    To build Almost Netflix, we will use Vue.js because of its decent simplicity and forced structure. I believe reading Vue components is straightforward, and any web developer can understand what the code is trying to achieve.
  • How to create a simple event streaming in Laravel?
    3 projects | | 17 Jan 2022
    You could use a frontend framework like Vue.js to handle the event stream. But for this demo, I will use pure Javascript.
  • How to Build a Machine Learning Demo in 2022
    7 projects | | 16 Jan 2022
    Front end development is where you will likely have to leave Python behind. While libraries such as Skulpt and Brython enable the use of Python in the browser, I highly recommend using Javascript as the very large community means that tutorials are numerous, and it will be much easier to seek help if needed. The two most popular libraries to build user interfaces in Javascript are React (tutorial for ML demo) and Vue.js (tutorial for ML demo). Using a general-purpose framework will give the flexibility needed to tailor the UI to your exact requirements.
  • I made an Anime and Manga search application using the Anilist API (more info in comments)
    2 projects | | 14 Jan 2022
    Ani-Ko is a simple web application built with Vue and Tailwind that uses the Anilist API to fetch anime and manga information from the source.
  • Top Github repo trends in 2021
    47 projects | | 12 Jan 2022
    While Github was designed to store code, it has become a major hub for crowdsourcing knowledge and educational resources. In fact, only 3/10 of the top Github repositories today are ‘technologies’ (Vue, React, & Tensorflow), and by far the most popular repository on Github is a free, non-profit, coding camp.
  • Building a PWA with Vue.js
    6 projects | | 11 Jan 2022
    Essentially, it’s an enhanced website! How? Unlike traditional websites, you can install a PWA on your device. You can even prompt users to install your PWA when they visit your site, as shown in this screenshot from Quina, my word game app, which is also a PWA (and also built with Vue):
  • How to be a Web Developer in 2022
    3 projects | | 9 Jan 2022
    VueJs (

What are some alternatives?

When comparing Preact and Vue.js you can also consider the following projects:

Stimulus - A modest JavaScript framework for the HTML you already have [Moved to:]

React - A declarative, efficient, and flexible JavaScript library for building user interfaces.

awesome-blazor - Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.

Aurelia 1 - The Aurelia 1 framework entry point, bringing together all the required sub-modules of Aurelia.

vite - Next generation frontend tooling. It's fast!

knockout - Knockout makes it easier to create rich, responsive UIs with JavaScript

Mithril.js - A JavaScript Framework for Building Brilliant Applications

lit-element - LEGACY REPO. This repository is for maintenance of the legacy LitElement library. The LitElement base class is now part of the Lit library, which is developed in the lit monorepo.

riot - Simple and elegant component-based UI library

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.

Backbone.js - Give your JS App some Backbone with Models, Views, Collections, and Events

inferno - :fire: An extremely fast, React-like JavaScript library for building modern user interfaces