Common Vue.js mistakes + how to avoid them

Поділитися
Вставка
  • Опубліковано 7 вер 2024

КОМЕНТАРІ • 6

  • @VueMastery
    @VueMastery  Рік тому

    To elevate your code and level up your Vue career, check out the learning resources 👉 vuemastery.com/courses/

  • @SLRModShop
    @SLRModShop Рік тому +6

    A mistake I made while learning React after learning Vue is trying to find similarities so I could cut corners... Don't do that. Learn Vue (or any language) on its own terms.
    And yes, if you're doing some DOM manipulation, 99.9% of the time, it means that you should go back to the drawing board because you missed something.

  • @AngelHdzMultimedia
    @AngelHdzMultimedia Рік тому +2

    My intention is not to start an argument, but I think saying that there's no need to learn Vue to work with Nuxt may not be correct.
    If that was the case, why are most Vue groups filled with JavaScript questions?
    Because we need to learn the language to start with a framework, and we need to learn a framework, to start with its meta framework. It's common sense.
    (And I haven't joined any Nuxt group yet, but I bet must questions are related to Vue and not to SSR, hydration, server API, etc.)
    (While writing this comment I joined a Nuxt group and the latest post, the OP was having issues with Pinia store and a Vue component... and the previous post, having issues with accesing a method in another method and doesn't know what a composable is...)
    I have a person I tutor with Nuxt, always asking me questions that should have known the answer to, if this person has mastered Vue in the first place.
    The same for people starting with TypeScript. You need to master JavaScript and it's quirks to start with TypeScript and being able to sort things out when you get the transpiled JS files. Also there are more tutorials with JS than with TS. So being able to understand both JS and TS, would help us easily convert a code in JS to TS.
    The person in the video even contradicts. First it was "you don't need to know Vue before Nuxt" and then it was "you need to know Vue obviously... but....". 🤷‍♂

  • @kolarov72
    @kolarov72 Рік тому +2