I hope React fans don't take it too seriously - GitHub stars is just one of many metrics and yes React is still ahead in terms of usage. I'm just glad there are so many devs loving their frameworks of choice, be it Vue or React. Build great stuff, make the world a better place.
Over the years I’ve started to prefer code that is boring but easy to understand. I cringe when I crack open some dependency source code and find some “smart” abstractions that makes it painful to understand what’s going on as an outsider.
People can literally use your software for free (and make money with it) for five years and then only shit on it like every aspect of it sucks when asked how they feel about it.
The cat is out of the bag: we are working on Rolldown, a rust port of Rollup. 🦀
- Focus: performance with best-effort compatibility with Rollup
- Goal: replace esbuild and Rollup in Vite with minimal impact on end users
Just had a company asking me to complete an 82-question security questionnaire so that *they* can use Vue Devtools, for free.
Ironically the compliance questionnaire service they are using is built with Vue 😂
I interviewed for a Facebook internship when I was in grad school (probably 2011) and failed because I couldn't whiteboard prototypal inheritance. I only learned JS properly after that 😅
people don't talk about failing at job interviews often enough so here's one of mine:
the year was 2009, and i was looking to move away from front end work to more backend/fullstack work, and i was on the phone with a guy from mozilla
A more accurate description of Vue 3:
- No template syntax change
- Significantly faster
- Small breaking changes with minimal impact on typical template-centric usage
- An opt-in new API if you need better TypeScript support and advanced logic composition.
Rolldown is open source!
The Rust-based bundler designed for the future of Vite. It is still a work in progress, but it's now in a state that we are happy to share with the community and welcome contributions.
Year 5 of being an independent OSS developer and never regretted the decision. Truly grateful to the communities around Vue / Vite for making this possible. Love y'all. 💚
if a job ad demands 3 years experience in Vue and you pass on it because you only have 2, I guarantee you the person who gets the job learned what a prop was yesterday
In 2018 I visited 6 cities, moved into a new house, had my 2nd baby, and saw Vue keep growing strong. Couldn't have asked for more, and I am sincerely grateful for all those who have contributed to Vue in the past year, in particular our core team members. Thank you!
Vite really is turning out to be more than I expected: it's now being used with not just Vue, but React, Svelte, Solid, Marko, Astro, Shopify Hydrogen, plus integrations with Storybook, Laravel, Rails etc (some combine it with InertiaJS)...
Devin is not really beyond what I imagined it would be like - and to be honest, quite underwhelming. A developer that gets things done only 13% of the time is a liability not an asset.
I think Vue got the highest satisfaction rating among frameworks in State of JS this year (91.2%) - thanks to our users, and we aim to do even better! Hope we can change the mind of the 568 people who don’t want to use it again ;)
As I was going to bed, I had an idea about a no-bundler dev setup (using native browser ES imports), but with support for Vue SFCs **with hot reload**. Now it's almost 6AM and I have PoC working. The hot reload is so fast it's near instant.
Here’s a proposal: the new React docs should recommend Vite over CRA for beginners - or at least recommend a custom Vite based template if ESLint / testing are required (also should use Vitest instead of Jest)
10 years ago today, Vue was introduced to the public for the very first time on HackerNews:
10 years later, it is now one of the mostly widely used frontend projects, with a diverse community all over the world.
Excited to announce the (long overdue) 1.0 release of VitePress, a Vite + Vue powered static site generator!
You probably have already seen it in action if you've used the docs of Vue, Vite, Vitest, Rollup, D3, Mermaid, VueUse, Pinia, UnoCSS and more...
Read more to learn why…
Running a benchmark where Bun looks 40x faster than Node
Turns out Bun doesn't implement fs.readdir with recursive: true so it's reading just 2 files instead of hundreds😅
Too many things going on in China in the past few days and I’m too distracted to write any code. It’s complicated - and all I can say is that I hope things get better in a peaceful way.
The web is not a zero-sum game. I dislike the narrative that frameworks will either win or lose, and that you need to "place a bet." Indeed, it is easy to fall into this mindset if everything is VC-backed, but not everything is, nor does it have to be.
I haven't written about why Vue is good for a long time, partly because we are somewhat already considered "mainstream". But I honestly believe Vue 3 is going to be the most well-rounded framework out there.
One month after open sourcing Vue 3: 152 PRs merged from 54 contributors. This is great! Really shows how the new architecture and TS makes it easier for new contributors to understand the codebase.
Published an RFC for function-based component API in Vue. Inspired by React hooks, but rooted in Vue’s reactivity system. Offering better logic composition and better TypeScript support. :
Thinking of getting a proper espresso machine + grinder setup at home so I did some research. This is much harder than choosing a JavaScript framework.
Had a tough and stressful week because my son caught Covid at school. He had no respiratory symptoms and only high fever. Luckily he has fully recovered today, just in time to celebrate his 6th birthday.
I've always noticed that my productivity fluctuates in cycles, and the fluctuation can span across a year. Some months I don't even want to touch the keyboard. Some months I come up with new ideas even when I'm dreaming. It's painfully obvious from my GitHub graph:
4. I’m glad vercel is investing its resources into a proper native-speed successor to webpack (as it should), and that our work on Vite has pushed this to happen. It’ll be interesting to see how it evolves - my hope is it can be made truly framework agnostic, not Next-first.
Ok, just want to get this out so I can enjoy the holidays:
A preview of the new Vue 3 docs that we've been working on:
- New design / implementation
- Toggle preference between Composition API / Options API
- Updated recommendations
...and more!
Did some performance tuning for the v3 compiler today. Currently in v2 we need extra passes for expression re-writing & pretty-printing. In v3 this is all built-in so it's one-pass (w/ source map support). Even with all optimization options enabled v3 is ~4x faster. ⚡️
It’s truly amazing what open source makes possible. I haven’t been directly involved in Vite 4.3’s perf work except for setting perf as the focus for the next stage in a team meeting, and now Vite is getting multiple times faster for initial load.
Downloaded Fruit Ninja and Angry Birds on iPad for the kids, and both have turned into an endless stream of lame ads and in-app purchase upsells. Just such a gross experience compared to the originals from years ago…
I like how some previously React-specific projects like
@remix_run
and React Query are exploring cross-framework support. Good ideas that are not specific to a framework should benefit as many devs as possible. That's what I realized when working on
@vite_js
v1!