petite-vue
proposal-record-tuple
Our great sponsors
petite-vue | proposal-record-tuple | |
---|---|---|
67 | 73 | |
8,754 | 2,423 | |
1.4% | 0.9% | |
0.0 | 2.7 | |
3 months ago | 4 months ago | |
TypeScript | HTML | |
MIT License | - |
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
- Best No-Code/Low-Code Frontend Builder
-
Show HN: A Lightweight 1.7KB JavaScript Framework
Something similar: https://github.com/vuejs/petite-vue (6kb subset of Vue) but the project seems abandoned.
-
Vue Developers, What Makes It Your Choice?
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
Like: petite-vue And/or a zero-dependency lightweight state management solution.
-
Little incremental wannabe
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
-
How does Tiktok on iOS Safari play videos with sound?
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
“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?
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
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.
proposal-record-tuple
-
Union, intersection, difference, and more are coming to JavaScript Sets
relevant issue, which is at the crux of this problem: https://github.com/tc39/proposal-record-tuple/issues/387
-
The Everything NPM Package
There are still so many basic things that aren't in the JS stdlib, though. A good example is Map - if you need to use a tuple of two values as a key, you're SOL because there's no way to customize key comparisons. Hopefully we'll get https://tc39.es/proposal-record-tuple/ eventually, but meanwhile languages ranging from C++ to Java to Python have had some sensible way to do this for over 20 years now.
-
Deep Cloning Objects in JavaScript, the Modern Way
If you’re reaching for structuredClone, what you really want is native immutable Record and Tuple syntax, and the companion “deep path properties” syntax which allows for efficient and ergonomic immutable updates:
- https://github.com/tc39/proposal-record-tuple
-
Cool language features that Rust is missing?
It will be called "record" in JavaScript which will swing the popularity back the other way I guess (currently a language proposal)
-
Why doesn't TypeScript properly type Object.keys?
I suspect considering the strong desire to maintain consistency with JavaScript, we will eventually see something that when the Record proposal passes through tc39
-
ES2023 features list!
I hope the Record and Tuple proposal makes it through
-
ES2023 introduces new array copying methods to JavaScript
I mean, I'd love some real immutable/persistent data structures in JS by default, or even some Immer-like syntax sugar. Something like the record/tuple proposal would be awesome.
-
What's new in ECMAScript 2023
This will become very useful once Records and Tuples are a thing, because it allows you to store object references in a record/tuple (which by definition can only contain primitives).
-
[AskJS] Is JavaScript missing some built-in methods?
Record and tuple is at stage 2
-
The huge potential of Kotlin/Wasm
Also, js has an ongoing immutable value data types proposal.
What are some alternatives?
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
zod - TypeScript-first schema validation with static type inference
htmx - </> htmx - high power tools for HTML
Immer - Create the next immutable state by mutating the current one
Alpine
typescript-eslint - :sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript
Svelte - Cybernetically enhanced web apps
typescript-is
django-vitevue - Manage Vitejs frontends for Django
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
proposals - Tracking ECMAScript Proposals