DEV Community

Discussion on: Understanding Vue by building a country directory app Part 1

Collapse
 
swiknaba profile image
Lud • Edited

If you still have some extra capacity for learning, try adding TypeScript ;-)
I've started learning VueJS some months ago, and since adding TypeScript I have to say, it is much easier, especially if you configure your IDE (I am using VSCode (I just love Atom much more, but for Vue + TypeScript VSCode just works better)) correctly. vuejs.org/v2/guide/typescript.html

Collapse
 
saucekode profile image
Chiamaka Mbah

Thanks Lud. Would throw in Typescript later.

Collapse
 
vannsl profile image
Vannsl

Wouldn’t it make sense to wait for the release of Vue 3 instead? The class style syntax will still be supported later but Vue3 comes with in-house TS support without syntax changes

Collapse
 
swiknaba profile image
Lud

I would in general not wait for the next version to be released, since a) cycles in tech are usually very short b) it is open source and the planned release date not guaranteed, thus you might have to wait much longer than anticipated.
Of course, if the next release comes out within a super short time, waiting might be an option, if upgrading will be a lot of overhead. For a learning project, having to upgrade might on the other hand teach you more about the internals of the framework.

Thread Thread
 
vannsl profile image
Vannsl

These are some very valid points. Since Vue 3 is now a release candidate, I would assume that we won't have to wait for much longer. My point would still be that I'm not sure if learning Vue + Class Style Vue would still be confusing, especially if one doesn't need it anymore afterwards.

But learning is learning, that's true.