petite-vue VS Svelte

Compare petite-vue vs Svelte and see what are their differences.

petite-vue

6kb subset of Vue optimized for progressive enhancement (by vuejs)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
petite-vue Svelte
67 632
8,754 76,402
1.4% 1.1%
0.0 9.9
3 months ago 3 days ago
TypeScript 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.

petite-vue

Posts with mentions or reviews of petite-vue. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-03.
  • Best No-Code/Low-Code Frontend Builder
    2 projects | /r/nocode | 3 Jul 2023
  • Show HN: A Lightweight 1.7KB JavaScript Framework
    2 projects | news.ycombinator.com | 9 Apr 2023
    Something similar: https://github.com/vuejs/petite-vue (6kb subset of Vue) but the project seems abandoned.
  • Vue Developers, What Makes It Your Choice?
    2 projects | /r/webdev | 2 Apr 2023
    I started with petite-vue because Vue seemed too large of a file size for my simple projects. Wanting to use Vue but after reading some of the comments, I might go with Svelte.
  • AI will make web development so much easier
    1 project | /r/ProgrammerHumor | 2 Apr 2023
    Like: petite-vue And/or a zero-dependency lightweight state management solution.
  • Little incremental wannabe
    1 project | /r/incremental_games | 25 Mar 2023
    I recommend trying https://github.com/vuejs/petite-vue as a minimalist library for declarative reactive view/model data binding, it could at least halve the code used for generating view
  • A PetiteVue Tutorial - 01 Hello World
    1 project | dev.to | 29 Jan 2023
  • How does Tiktok on iOS Safari play videos with sound?
    1 project | /r/webdev | 25 Jan 2023
    Maybe I’ve spent 5 days on and off researching this. I was able to recreate it perfectly using petite-vue https://github.com/vuejs/petite-vue which is nice, but it does not have all the features I need in Vue3
  • Alpine.js
    17 projects | news.ycombinator.com | 13 Jan 2023
    “petite-vue is indeed intended to fill the gap for progressive enhancement cases where Vue 3 would be too heavy-handed.

    It is not abandoned, but rather it is considered "done" because the scope is well defined. I don't think it needs more features (as that would defeat the purpose of being lean and minimal). If you find yourself needing more than what petite-vue provides, you can either go up to Vue proper, or try https://alpinejs.dev/.

    That said, I should update the README to indicate this more clearly.”

    Github discussion: https://github.com/vuejs/petite-vue/discussions/53

  • Vue SFC's with C# MVC project?
    2 projects | /r/vuejs | 24 Nov 2022
    You might consider doing as much as possible in Razor pages and then use https://github.com/vuejs/petite-vue for any functionality you might (components/interactivity/etc.) need.
  • Using script setup and SFC using Vue over CDN
    2 projects | /r/vuejs | 23 Nov 2022
    As another alternative, you could look at petite-vue if you just want to sprinkle from Vue-like components throughout your site... Doesn't have the full force of vue, but maybe it's enough.

Svelte

Posts with mentions or reviews of Svelte. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-21.
  • How to optimise React Apps?
    5 projects | dev.to | 21 Apr 2024
    React has introduced measures like batching state updates, background concurrent rendering and memoization to tackle this. My opinion is that the best way to solve the problem is by improving their reactivity model. The app needs to be able to track the code that should be re-run on updating a given state variable and specifically update the UI corresponding to this update. Tools like solid.js and svelte work in this manner. It also eliminates the need for a virtual DOM and diffing.
  • Episode 24/13: Native Signals, Details on Angular/Wiz, Alan Agius on the Angular CLI
    11 projects | dev.to | 5 Apr 2024
    Similarly to Promises/A+, this effort focuses on aligning the JavaScript ecosystem. If this alignment is successful, then a standard could emerge, based on that experience. Several framework authors are collaborating here on a common model which could back their reactivity core. The current draft is based on design input from the authors/maintainers of Angular, Bubble, Ember, FAST, MobX, Preact, Qwik, RxJS, Solid, Starbeam, Svelte, Vue, Wiz, and more…
  • Rich Harris: Svelte parses HTML all wrong
    1 project | news.ycombinator.com | 5 Apr 2024
  • Mario meets Pareto: multi-objective optimization of Mario Kart builds
    2 projects | news.ycombinator.com | 4 Apr 2024
  • Svelte parses HTML all wrong
    1 project | news.ycombinator.com | 4 Apr 2024
    1 project | news.ycombinator.com | 3 Apr 2024
  • Svelte for Beginners: Easy Guide
    2 projects | dev.to | 2 Apr 2024
    Svelte is a powerful web framework that offers a fresh approach to building web applications. Its simplicity, reactivity model, and built-in features make it an excellent choice for developers looking to create efficient and maintainable applications. By following this guide, you should now have a good understanding of how to get started with Svelte and build your first components, routes, and transitions. You can read more about svelte on the official Svelte website.
  • Trying to use dotnet watch with Svelte
    2 projects | dev.to | 17 Mar 2024
    Use .NET features (especially dotnet watch) as a setup for a client-side Svelte application, starting from a simple C# console app.
  • Why I keep an eye on the Vue ecosystem and you should too
    9 projects | dev.to | 6 Mar 2024
    Volar originally was Vue3's language support tool for VScode (I don't know about other editors). By today, volar has become a language indipendent framework to create language tools. It might still be a bit early for the dev with skill issues like me to use it and build some tools, but astro and svelte already use Volar to create their language tools.
  • Svelte Tenets by Rich Harris
    1 project | news.ycombinator.com | 10 Feb 2024

What are some alternatives?

When comparing petite-vue and Svelte you can also consider the following projects:

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

htmx - </> htmx - high power tools for HTML

lit - Lit is a simple library for building fast, lightweight web components.

Alpine

solid - A declarative, efficient, and flexible JavaScript library for building user interfaces. [Moved to: https://github.com/solidui/solid]

django-vitevue - Manage Vitejs frontends for Django

qwik - Instant-loading web apps, without effort

Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

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

react-18 - Workgroup for React 18 release.

Next.js - The React Framework