Why I’m sticking with Vue in 2023
Vložit
- čas přidán 14. 03. 2023
- At the end of last year, I was about to set my long-time favorite frontend framework Vue aside for Svelte. In the end, I didn't do that. In this video, I talk about why I'm not ready to give up Vue just yet and will stick with it for the foreseeable future.
If you rather read, here is a friend link to my medium article: medium.com/@lindblomdev/why-i...
#vue #vuejs #vue3
I'm currently working as a React developer, but outside of work, I'm using Vue. I just think that the design of Vue matches my way of thinking for frontend development. It also feels complete. Like for ex., the following libraries in React:
- classnames
- react-transition-group
- react-router-dom
already comes out of the box in Vue. I suppose this is due to React being a "library" and not a "framework". I also prefer Vue's template over JSX. v-if, v-else, v-for, etc. are clean syntaxes to control the rendering of elements IMHO as opposed to using Array#map and the ternary operator. Lastly, I simply prefer the fine-grained reactivity of Vue over React where there is constant component rerender.
Overall, I think Vue and React are almost equal, except in ecosystem where React is undoubtedly the king. I will still use Vue regardless.
Switching to Vue this month. Exactly what I think about Vue vs. React
Vue is not a framework in that terms.
Same!
Vue is awesome. I'm looking into Solidjs because of Vue "vapor" (coming later this year) a new Solidjs-inspired compilation strategy. No more vdom and even better performance! I enjoy both now 🙂
🤯
Can't wait for the vapor mode 😁
Yeah it will be very interesting to see how a fully vapored app where vdom is completely gone compared to a traditional app in app size and start up time.
No, I could NOT imagine building UI in rust. I just don't think you could get a nice dx into the language without jumping through so many macro hoops that it may just as well be a different language. I don't know how much experience you have building UI outside web-dev, but coming from an embedded dev, having sometimes done abstraction/interfacing-UIs for a device in python/Qt (and java for uni) and now learning how to do UIs in modern js frameworks, it's sooo much nicer and expandable than any option in other languages. To the point I honestly strongly consider using electron for the next UI that I'm gonna do.
Just a little classic visual basic, an ios app (before swift and swift ui) and played around with flutter. Otherwise I have only made web uis. I would probably look at tauri if I made a desktop app today over electron to use the OS native web rendered. But I agree, web ui is pretty slick.
Sticking with Vue components, in an Astro project ^^
👀
Svelte is more a complier than framework. The big advantage is that you don't have to ship the library as production dependency
(React/Vue).
True, thanks for clarifying. With the introduction of script setup in vue, it also took a step toward built time optimization, but it does still require runtime framework, and will continue to do so for the foreseeable future as far as I know.
Preach 🙌🏼
that's a wise decision ; )
I'd say benchmarks aren't even the best way to measure this. They will overlook specific cases in which one framework might topple another one.
Nonetheless, yes, if you prefer Vue's experience, definitely stick with it. I say this as a Svelte ambassador, and so I'm quite biased towards it. I wouldn't say Vue's the cleanest, and would say it has a API surface that is too big. But you will of course have your arguments as to why you prefer Vue, which is also fine :)
Happy hacking!
Angular still preferred by enterprise company tho
Enterprise is a four letter word.
The cleanest is vanilla JS. It gives you the freedom to actually do things your own way and organise them your own way.
Which is why I always use JS for anything which is a personal project, cause I am allowed to. On the other hand working for a company either as a freelancer or employee, you need to cooperate with others (either immediately, or maybe in the future cause others will be maintaining your code). Which means that some restrictions and standardisations are good practice which can avoid massive time waste. But why oh why would you actually use a framework/library for a project where you are the only one supposed to work on it? I don't really get it at all.
I strongly disagree with this if you build highly interactive websites. But if you only sprinkle some js on top here and there, then I do agree 😉👊
Svelte is so cool. But the language server stay crashing lol
Haha yeah it was sad times, hopefully it has improved. I am very much into qwik lately. Lucky me it's 2024 which makes me not a liar 🤭
Svelte is amazing but Vue is powerful. I started learning Vue recently and It gives you even more power to make reactivity and more control over the entire application and your components. Vue and Svelte are both my favorite javascript frameworks for 2023 and 2024. Svelte is simple to learn and elegant but Vue is more powerful yet difficult but once you master it then you can really make amazing stuff with it.
How is it more powerful? Svelte's runes are more flexible in terms of reactivity.
You talking like using what you enjoy is some crime Unless it's react or next or svelte😂😂
🤣
Vue is the life!
thats deep 👊
Vue 3 is much faster than most of the frameworks, people who use vue 3 are much smarter than other programmers
Haha 🤣
First
We are using javascript because we have to, not because we want to? That's crazy talk. Who's "we" in that statement. Agree with you on Vue , then you lost me at the end.
People who believes that Javascript is not the best language, not even top 3. 🙃 I was half-joking, Javascript will most likely be thriving for many years to come.
The people I see defending JavaScript seem to be people with limited experience in other languages. JavaScript is a very strange programming language with a lot of awkwardness you have to work around. Typescript gets much closer to a nice language to work with, but they’re still not quite to the level of best in class functional or OO languages like Elixir or Ruby, respectively, IMO.