Why I’m sticking with Vue in 2023

Sdílet
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

Komentáře • 40

  • @vhaangol4785
    @vhaangol4785 Před rokem +26

    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.

    • @sfybskot
      @sfybskot Před rokem

      Switching to Vue this month. Exactly what I think about Vue vs. React

    • @daveyjonesx
      @daveyjonesx Před 8 měsíci

      Vue is not a framework in that terms.

    • @dae2530
      @dae2530 Před 4 měsíci

      Same!

  • @pstoa
    @pstoa Před rokem +8

    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 🙂

  • @user-re8lt2gy3g
    @user-re8lt2gy3g Před rokem +3

    Can't wait for the vapor mode 😁

    • @lindblomdev
      @lindblomdev  Před rokem +2

      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.

  • @amos9274
    @amos9274 Před 4 měsíci +2

    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.

    • @lindblomdev
      @lindblomdev  Před 3 dny +1

      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.

  • @cholst1
    @cholst1 Před rokem +3

    Sticking with Vue components, in an Astro project ^^

  • @radimhof
    @radimhof Před rokem +9

    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).

    • @lindblomdev
      @lindblomdev  Před rokem +1

      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.

  • @punupapini
    @punupapini Před 5 měsíci

    Preach 🙌🏼

  • @kostraone
    @kostraone Před 9 měsíci +1

    that's a wise decision ; )

  • @slenderontheline
    @slenderontheline Před 6 měsíci +1

    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!

  • @xxXAsuraXxx
    @xxXAsuraXxx Před 7 měsíci +1

    Angular still preferred by enterprise company tho

  • @croluy
    @croluy Před měsícem

    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.

    • @lindblomdev
      @lindblomdev  Před 21 dnem

      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 😉👊

  • @stevepottz111
    @stevepottz111 Před 3 měsíci

    Svelte is so cool. But the language server stay crashing lol

    • @lindblomdev
      @lindblomdev  Před 3 měsíci

      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 🤭

  • @danish2462
    @danish2462 Před 7 měsíci

    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.

    • @slenderontheline
      @slenderontheline Před 6 měsíci +1

      How is it more powerful? Svelte's runes are more flexible in terms of reactivity.

  • @blackpurple9163
    @blackpurple9163 Před 9 měsíci +1

    You talking like using what you enjoy is some crime Unless it's react or next or svelte😂😂

  • @tyaho83
    @tyaho83 Před 11 měsíci +2

    Vue is the life!

  • @xtraszone
    @xtraszone Před 9 měsíci +2

    Vue 3 is much faster than most of the frameworks, people who use vue 3 are much smarter than other programmers

  • @PerceptiveAnarchist
    @PerceptiveAnarchist Před rokem

    First

  • @stepandersen
    @stepandersen Před rokem +3

    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.

    • @lindblomdev
      @lindblomdev  Před rokem +8

      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.

    • @Pepsiaddicto
      @Pepsiaddicto Před 11 měsíci +7

      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.