What's the Difference Between Vue 2.0 and Vue 3.0?

3 years ago | Front End YouTube
The third version of a framework, library or tool generally sucks, at least in my experience. Will this be the case with Vue 3? Let’s find out!

In this video I look at the main differences between Vue 3 and Vue 2. I’m happy to report that they are, for the most part, aimed at making things faster, smoother and more straightforward.
The best changes that I have seen are:

  • Using Vite as the build tool. This thing is blazing fast which makes all the difference in the world.
  • The creation of Pinia as a replacement for Vuex. Bigger apps need a centralized state store and I, for one, am happy to see Vuex go away. The Redux-y stuff was just a bit too much.
  • The Composition API. Almost everything in Vue is now done by importing and executing specific functions that do a single thing. You can still pass objects in the old declarative style, but working with the Composition bits is refreshing.
  • Teleport! You can now “shove” a component into any DOM element on the page as long as it has a selector.

Have a look:


Learn The Core CS Concepts Every Programmer Should Know - Free

Every day programmers like you and me have to solve complex problems. In this free, 52 page PDF I'll share with you some of the skills and techniques I use on a daily basis. Pop your email below and I'll send it right off!

    I respect your privacy. Unsubscribe at any time.

    Have some thoughts? You can always reply to this post (if you're receiving as a newsletter) or shoot me an email at rob@conery.io. If the conversation is a good one, I would love to add it here, with your permsission, of course. Otherwise, you can always take it to HackerNews.

    There's More...

    👹 The Wrath of the Junior Developer

    There are a lot of opinions about AI, whether it helps or hinders our coding process and our team in general. Many are concerned that junior devs will be the ones impacted the most.

    Following Your Imagination

    I learned to play ice hockey when I was 11 and, as a kid from Southern California, it wasn't easy. I learned how to skate and how to play the game at the same time, all while going through a massive growth spurt. My sister once called me a "baby giraffe on a frozen lake". Nice.

    It wasn't what you said, but how you said it

    I make videos for a living and I swear: each one is an adventure. You would think I would have a system down by now but, as it turns out, each video is a unique thing that demands it's own type of story telling.