DEV Community

First post: Vue learning plan

OooopsItsMe on March 07, 2024

Vue as most of us know, has gone through a lot of changes mainly introduced through the composition API, in this article, I started a guide to help...
Collapse
 
aloisseckar profile image
Alois Sečkár • Edited

I also remember the reasoning you use in the part about ref/reactive from the days I was learning Vue.js, but Vue team now recommends ref to be used in favor of reactive even for complex structures. The convenience of not having to write .value in script part is paid with several gotchas as discussed in the docs.

Personally I think having these two options with so different behavior, is one of the biggest source of confusion for newcomming devs willing to learn Composition API style. Would be better to drop reactive completely, but I know this is unlikely to happen.

Collapse
 
mrlinxed profile image
Mr. Linxed

Welcome!

I hope you'll share more Vue related content in the future.