Vue explained to React Developers in 6 mins

Sdílet
Vložit
  • čas přidán 27. 06. 2024
  • Using your React.js skills you can learn the basics of Vue in less than 6 mins. Vue has become even more similar to React but still maintains some tricks ups its sleeve.
    By the end of this video, we'll convert some React components into Vue components to explain how Vue works. We'll also look at why so many developers enjoy and use Vue.
    #vue #react
    ✨ SOCIAL ✨
    Discord - / discord
    Twitter - / jsbroks
    ⚡ RESOURCES ⚡
    React - reactjs.org/
    Vue - vuejs.org/
    JSX vs Template - vuejs.org/v2/guide/comparison...
    Nextjs - nextjs.org/
    Nuxtjs - nuxtjs.org/
    ⭐ TIMESTAMPS ⭐
    0:00 - Overview
    0:43 - React Counter
    1:07 - Vue Counter
    2:55 - Vue template
    4:31 - useEffect in Vue
    5:17 - Tooling / Libraries
  • Věda a technologie

Komentáře • 62

  • @misterkevin_rs4401
    @misterkevin_rs4401 Před 3 lety +18

    I'd love Vue to have a fully first-class citizen framework for mobile development like React-Native is for the market right now.

  • @TJKlimoski
    @TJKlimoski Před 4 měsíci

    great short video here. exactly what I was looking for.

  • @ivangrey1047
    @ivangrey1047 Před 3 lety

    please make more videos like this, it’s very enjoyable

  • @codeconcept
    @codeconcept Před 3 lety

    Great comparison. Thanks :)

  • @rangabharath4253
    @rangabharath4253 Před 3 lety +3

    awesome as always

  • @abhinaykatta
    @abhinaykatta Před 7 měsíci

    I feel saved after watching this. Thank you.

  • @bushbuddyplatypus
    @bushbuddyplatypus Před 2 měsíci

    So clear. Excellent tutorial

  • @MaxProgramming
    @MaxProgramming Před 3 lety +23

    I like both tbh. But idk why I feel more comfortable with React. Let's Vue again

    • @wilsonwg
      @wilsonwg Před 3 lety +13

      With Vue, I need to memorize or read some of its template syntax and options. With React, I only need to think in js most of the time. But it can be quite daunting at first, as you need to understand the jsx, spread operator, webpack boilerplates. Hard to setup at first, but somewhat rewarding afterwards. Vue is quicker to pick up.

    • @FalconTheFries
      @FalconTheFries Před 3 lety +11

      For some reasons, React feels more natural and organic

    • @RR-et6zp
      @RR-et6zp Před 2 lety

      @@FalconTheFries bingo

  • @krzysztofkk6964
    @krzysztofkk6964 Před 11 měsíci

    nice & easy, love it!

  • @RianY2K
    @RianY2K Před 3 lety +7

    I feel more comfortable with Vue JS btw, and dont forget with their "easy to understand" documentation too.

  • @BruceLeeBeatz
    @BruceLeeBeatz Před 2 lety +4

    Nice over-vue

  • @redhook777
    @redhook777 Před 3 lety +1

    Thank you 💗

  • @nottodaybro4450
    @nottodaybro4450 Před rokem

    Great video !

  • @sumanthgmr5645
    @sumanthgmr5645 Před rokem

    great video feels like fireship

  • @sohhamm
    @sohhamm Před 3 lety

    Great video

  • @evertp
    @evertp Před 3 lety +24

    I've been using React for 2 years, but have been interested in Vue for a while as well. This video has completely deterred me from even trying this, and I don't know if this is intentional. Am I *that* biased or is Vue genuinly a bit clumsy compared to modern hooks-based react?

    • @CodingWithJustin
      @CodingWithJustin  Před 3 lety +19

      I disagree with you. I feel react is more verbose than Vue since you need to list all dependencies. Vue also handles rerenders for you so you don't need to think about it.
      You might be used to Reacts way of doing things, so other approaches feel weird

    • @seanraz
      @seanraz Před 3 lety +2

      I don't think this video shows the advantages of Vue. Probably best to build a small test app with it to see if you like it. I prefer Vue.

    • @galeontiger
      @galeontiger Před 3 lety +2

      I'm a react Dev as well, I want to learn view, but the documentation just throws me off. Feels very off.

    • @RD-jr8nv
      @RD-jr8nv Před 2 lety +2

      I prefer react.

  • @eduardosalles9212
    @eduardosalles9212 Před 2 lety

    thank you.

  • @denno021
    @denno021 Před 3 lety +45

    I started with Vue, I do personal projects in Vue, but at work I use React. I feel like this video made Vue look far more complicated than React :/

    • @OlivYog
      @OlivYog Před 3 lety +6

      My feeling as well

    • @7MaticCode
      @7MaticCode Před 2 lety

      Same

    • @Pazdkq
      @Pazdkq Před rokem +7

      never used vue, but yeah, react seems easier, what was that with @click, if and for, why we need to create something new, when its easer for all to just use plain js

    • @wabathur
      @wabathur Před rokem +3

      React will be more complicated when you are about to take care of optimization. React lifecycle is the pain in the ass, and JSX is god damn good but will leave you in the refactoring hell when you are not good at managing it.

    • @ojvribeiro
      @ojvribeiro Před rokem +4

      Yes, it did.
      With the syntax sugar you can do it in basically 6 lines of JS.

  • @dzienisz
    @dzienisz Před 2 měsíci

    What version of Vue is this video about?

  • @MikaJuhani-fj7fn
    @MikaJuhani-fj7fn Před rokem +1

    Justin, what did you think when attaching so loud background music on the video, or actually, why did to use it at all? The video content looked interesting but it was impossible to watch (I stopped) because the music was so disturbing. Maybe next time you do it differently

  • @kompaskompas5605
    @kompaskompas5605 Před 2 lety

    Vue the future!

  • @renefournier
    @renefournier Před 3 lety +1

    Svelte!

  • @icecruiserr
    @icecruiserr Před 3 lety +10

    Great video! I personally still think React's JS/JSX everywhere comes off cleaner

  • @retrom
    @retrom Před 3 lety +3

    My issue with Vue is that doesnt have great native support compared to React Native.

  • @oinn6216
    @oinn6216 Před 3 měsíci

    How could be templates more natural if in JSX you have almost native events but in camelcase and this is all you need, but in templates you have bunch on directives, I hate them beggining from Angular 1.x )))

  • @Svish_
    @Svish_ Před 3 lety +7

    Loved the `useEffect` section which throws a bunch of life-cycle hooks in your face. That 's exactly what I love _not_ having to deal with anymore in React thanks to hooks. 😅 Also really dislike vue-specific template stuff and auto-magic binding. Sticking with React, 100%.

    • @RenanLeandroFerreira
      @RenanLeandroFerreira Před 2 lety +1

      The magic binding is the beauty of vue. It makes the life so easier...

    • @nethsarasandeepaelvitigala135
      @nethsarasandeepaelvitigala135 Před 2 lety +1

      yeah have fun handling unnecessary rerendering in react and new hooks to shit you over in each new version, when Vue just handles everything and currently beats React in performance score and bundling sizes.

    • @Svish_
      @Svish_ Před 2 lety +3

      @@nethsarasandeepaelvitigala135 Never had any issues with unnecessary rerendering, and the few new hooks being released are usually about giving more control to authors making special libraries, so no issues there either. Performance and bundling size doesn't really matter to me as long as they're not too far off, which they aren't. DX is much more important, and writing React code feels so much cleaner and nicer than the Vue and Angular directives and custom attribute stuff. If you enjoy it, that's good for you though, so keep doing that. 👍

  • @hansschenker
    @hansschenker Před 3 měsíci

    good comparison between React and Vue, Vue explanation is slightly out of date!

  • @babylemurman
    @babylemurman Před 3 lety +15

    I'm hoping this all eventually leads full-circle back to native web components, and all of these libraries become obsolete.

  • @skullteria
    @skullteria Před 2 lety +3

    As expected, most of you youtube tutors don't know either framework good enough to actually make a valid comparison, sad but understandable. Thanks for publishing this freely duh.

    • @benedictjohannes
      @benedictjohannes Před 2 lety +4

      I'm a react dev, and I'm curious why Vue is becoming so much popular lately. If you have a better reference of the comparison (or "Vue for react devs" style articles/vids) I'd be genuinely interested.

  • @SuboptimalEng
    @SuboptimalEng Před 3 lety +3

    🙅🏾‍♂️ React
    🙇🏾‍♂️ Vue

  • @dcxng6913
    @dcxng6913 Před 2 lety +2

    For me Vue looks like React with classes and i´m happy that this time is over. Can you write Vue more in a style like react with functions ?

    • @jpffinc
      @jpffinc Před 9 měsíci

      What are you saying? Are you even try Vue?

    • @DCX-NG
      @DCX-NG Před 9 měsíci

      @@jpffinc at that time I have worked with vue2. Vue3 is similar to react with functions but still different.

  • @altgoncalves1472
    @altgoncalves1472 Před rokem

    From what I get, in react I have Functional Components and Hooks. Master those two and you get everything else. With jsx there's a single syntax style. Any JS always get's wrapped in `{}` and that`s it. And no `class` in the JSX, swapped for `className`. No special directives and tons of concept to master, magic passage of values between templates and components that are often written as classes that use mixins to request data from stores that'll talk to services before we can make a single api request. meanwhile, on react lands, we have react-query and true code testability with hooks. am I missing anything?

    • @hasj
      @hasj Před rokem

      not reading allat 😂

  • @zeeshanshafqat2661
    @zeeshanshafqat2661 Před 3 lety +2

    The title should be "Vue explained to React Developers in 6 mins 32 seconds". Because that's the run time.

  • @sunilanthony17
    @sunilanthony17 Před 6 měsíci

    I have no idea why and how react is simpler. Vue is much more readable and simple.

  • @s1nistr433
    @s1nistr433 Před rokem +1

    The problem with Vue is its ecosystem. There are far less 3rd party libraries for it. You can't make mobile apps unless you use Ionic (Electron for phones), and there's no viable alternative to MUI or React Native Paper.

  • @IkraamDev
    @IkraamDev Před 3 lety

    You made Vue.