petite-vue VS vanilla-teuxdeux

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

petite-vue

6kb subset of Vue optimized for progressive enhancement (by vuejs)

vanilla-teuxdeux

A case study to implement modern js app with vanilla web technologies (by ivank)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
petite-vue vanilla-teuxdeux
67 5
8,754 25
1.4% -
0.0 0.0
3 months ago over 3 years ago
TypeScript JavaScript
MIT License GNU General Public License v3.0 or later
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.

vanilla-teuxdeux

Posts with mentions or reviews of vanilla-teuxdeux. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-20.
  • Show HN: 7GUIs in Vanilla HTML, CSS, JavaScript
    7 projects | news.ycombinator.com | 20 Sep 2021
    A few years back I stumbled into something a bit more complex, still done in pure js, just for the hell of it: https://github.com/morris/vanilla-todo

    And then wrote my own version, with code a lot closer to modern react, with undo/redo and other niceties - https://github.com/ivank/vanilla-teuxdeux

    And what I leaned is that is astonishingly easy to write code that would be understandable to people coming from the redux crowd. Maybe that’s because redux is just such a simple concept in and off itself - a glorified switch on a big object. And it’s also quite easy to hack a simple version of vdom to make it all work.

    What’s missing from all those vanilla js efforts though turned out to be testability. There is a ton of code in the modern js world just to allow you to mock/test your components, and thats for me the real tragedy of vanilla js.

    I have no idea why W3C crowd have not invested into standardizing js tests in all these years…

  • React's UI State Model vs. Vanilla JavaScript
    5 projects | news.ycombinator.com | 17 Jul 2021
    Kinda like restarting windows to fix it, rather than figuring out whats wrong.

    And you could get quite far that way. 37signal’s basecamp was like that - an html app with vanilla js sprinkled throughout. Worked great.

    But there is a limit in complexity. JS and html are great for building websites, but if you want to build an actual application, you need to be really clever and accept a lot of limitations. React just lifts the ceiling of what you can do, without being all to complicated.

    And you can use the technics of react without react itself too, once you understand what it is all about - https://github.com/ivank/vanilla-teuxdeux

  • Astro: Ship Less JavaScript
    4 projects | news.ycombinator.com | 8 Jun 2021
    Recently I went on a deep dive to test for myself if it’s even possible to write a modern looking web application with no build tools or dependencies, and turns out its very doable - https://github.com/ivank/vanilla-teuxdeux

    Web tech has gone a long way and gives us a ton of stuff for free, without the need to reimplement it all in JS. Though the apis themselves are often rather awkward.

    Sadly, the biggest missing piece in all of it though is testing.

  • Show HN: Skruv – No-dependency, no-build, small JavaScript framework
    10 projects | news.ycombinator.com | 7 Apr 2021
    Hah last year I did my case study of building an app with only web tech - no dependencies, build steps etc. - https://github.com/ivank/vanilla-teuxdeux

    Figured out virtual dom is the one big missing piece to make webdev workable without any dependencies at all.

    I can see other people are getting to similar conclusions:)

  • Vanilla TeuxDeux – a case study for building an SPA with vanilla JavaScript
    1 project | news.ycombinator.com | 16 Feb 2021

What are some alternatives?

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

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

reagent - A minimalistic ClojureScript interface to React.js

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

Alpine

mvc_for_the_web - Example programs explaining the techniques of Model-View-Controller implemented as web applications.

Svelte - Cybernetically enhanced web apps

vanilla-todo - A case study on viable techniques for vanilla web development.

django-vitevue - Manage Vitejs frontends for Django

7guis-React-TypeScript-MobX - Implementation of 7GUIs with React, TypeScript and MobX

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

non-grid-path-finder - A path finding algorithm for non-grid-based environments.