Vue, The Third
28/02/2022
dev
I just wanted to do a little write up on my current thoughts on Vue 3 from my limited usage perspective.
I like it!
No, really. It’s actually a lot nicer to use than I first expected. My brain has been wired to use the options API for a long time, I’ve avoided doing too much react just because of how simple I find creating components and applications in Vue (2) to be.
After actually trying out the composition API, along with the new setup syntax I think I dig it.
The TypeScript support is pretty much all there. I had some slight bother with my VSCode set up, especially when combining it with Cypress and Vitest. That’s happened before though so it’s just likely me mis-configuring something in the editor. The actual compiler worked fine and did it’s job.
So yeah, this wasn’t going to be long form or anything. Just wanted to say I’m onboard. There are some pretty cool features that are either in the release builds or in RFC as well.
I mean.. frickin’ variables in SFC style tags… that’s pretty sweet.
<style>
.text {
color: v-bind(color);
}
</style>