DEV Community

Cover image for Learn Vue 3 or Vue 2?
Mark Okoh
Mark Okoh

Posted on

Learn Vue 3 or Vue 2?

With the release of Vue 3, is it better to learn Vue 3 or Vue 2 if you're starting now? I touch on this subject in a video I made on learning Vue.

Interested to know your thoughts.

Top comments (4)

perpetual_education profile image
perpetual . education

It's a bummer that when you switch - there's no backwards compatibility.

For example, figured we'd use 3 recently in a CodePen. Wrote up a little Vue instance and couldn't figure why it didn't work. No error. Nothing to teach us that 3 is just totally breaking changes...

Eerily similar to what happened with Angular. Since Vue is (really) similar to Angular 1.5, we can already see how this will play out.

markokoh profile image
Mark Okoh

I went with Vue 3 simply because it's the latest version. I know that not all the component libraries work with Vue 3 yet, but hopefully it shouldn't be too long before they do.

patarapolw profile image
Pacharapol Withayasakpunt

Vue 2 for more third party libraries' support.

Vue 3 for better IDE support, JSX / TypeScript support, and composition API.

sauloco profile image
Saulo Vargas

Start with VueJS 2 and then make the switch when you really need it.