Vue vs React - Code Examples

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 57

  • @Huy-ed2re
    @Huy-ed2re 5 лет назад +7

    I guess the title and description didn't put you on top of RUclips search feature, but your comparison is the best one I've watched so far. Only this one has the code. Thanks!

    • @drehimself
      @drehimself  5 лет назад +1

      Thanks for watching! I'm glad you enjoy my comparison with code

    • @Huy-ed2re
      @Huy-ed2re 5 лет назад

      @@drehimself You're a natural talent in teaching Andre :) pls keep it up

    • @Huy-ed2re
      @Huy-ed2re 5 лет назад

      probably shorter, this one is too long. no one can watch more than 45 mins straight. just my pov :D

  • @andresolivares9882
    @andresolivares9882 5 лет назад +7

    Really helpful, especially if you're considering to switch from one to another. Thanks a lot!

  • @ohhhkComputer
    @ohhhkComputer 3 года назад

    Thanks so much! Coming from react background and on the first day of my new job need to understand vue, thanks for your video it only takes 20 mins + another 15 mins video on vuex!

  • @rboes208
    @rboes208 3 года назад

    Thanks for taking the time to make this video!

  • @arin_faraj
    @arin_faraj 3 года назад

    This is a really great compact video to learn vue and react at the same time Thanks a lot, Loved every second.

  • @gursharnbirsingh3021
    @gursharnbirsingh3021 4 года назад

    I am surprised this one only has 6.8k view and only 156 likes. This is best best best comparison I have ever seen, specially if you know one and you wanna learn other, in my case I learned React recently and wanna start learning vue.js... thank you so much for this video. You gained a new subscriber 🙂

    • @ManleyCelicourt
      @ManleyCelicourt 4 года назад

      Why not stick with react instead of learning something else? Don't you like react?

  • @clearlyajit
    @clearlyajit 6 лет назад +2

    In Vue, computed properties are cached, right? They only get computed when there is change in any data/state used to compute that property. If this is the case then using method in React won't be right, na? Maybe making a statless functional component and passing down props would be better?

    • @drehimself
      @drehimself  6 лет назад

      You're right, that's probably the better way to do it!

  • @lennyy8330
    @lennyy8330 4 года назад

    Hey, thanks for video. I had experience with Vue and now I’m understanding React, its so easy to understand when you made so evident comparison. Thanks a lot

  • @wolfisraging
    @wolfisraging 4 года назад

    now this is the comparison I wanted to see.... and after watching.... I actually want to learn both :)

  • @robbyl6863
    @robbyl6863 3 года назад

    What theme are you using? Greate video!

  • @bekliev
    @bekliev 6 лет назад +4

    Nice comparison! I loved it! I'll go with Vue.js - thanks!

  • @leonf.7893
    @leonf.7893 4 года назад

    I really enjoyed this. You have a great way of explaining things, and a soothing voice which makes for easy listening.
    Have you heard of Svelte? What do you think of it compared to React and Vue?

  • @michaelihde
    @michaelihde 3 года назад

    thanks for this comparison it helped me alot to make the decission to choose vue for my FE Projects ;)

  • @Koekaniini
    @Koekaniini 6 лет назад

    Hi, how much you recommend practicing on vanilla js before jumping in to Vue js? :)

    • @drehimself
      @drehimself  6 лет назад

      Hmmm.. check out my "Image Gallery" video. When you're comfortable with building something like that in vanilla JS, I'd say you're ready for a framework like Vue.

  • @NSjoao3
    @NSjoao3 2 года назад

    what is the color theme?

  • @argeelearner3978
    @argeelearner3978 6 лет назад +1

    Which one do you recommend to learn?

    • @drehimself
      @drehimself  6 лет назад +5

      Biased answer, but I really think Vue is much easier to learn. However, if you are really good at JS, you might prefer React. Once you know one, the transition to the other one will be very seamless. I say learn both!

    • @jsonkody
      @jsonkody 6 лет назад

      Good answer. I know Vue but maybe considering to look at react just to get basic ideas.
      One coudn't really compare two frameworks or languages without personal experience.

  • @emmanuelagnin631
    @emmanuelagnin631 6 лет назад +8

    Vuejs is more simple for me,react still close of native js

    • @drehimself
      @drehimself  6 лет назад +1

      Thanks for watching!

    • @whenlifegivesyouLSD
      @whenlifegivesyouLSD 4 года назад +2

      that's why I love react actually. It's very "Javascript-y" unlike vue and angular which feel like their own thing

  • @electrichimp
    @electrichimp 4 года назад +2

    Currently working on React, I was curious about Vue and after this video, it certainly looks very cool and clean... But I just don't think I like the whole directives and having like a mini-language to do things, compared to React's way of reinforcing your JS knowledge by using JS through all it's templating and such. That's just me, but certainly, I understand Vue's appeal.

    • @Ivcota
      @Ivcota 4 года назад

      Vue's directives really remind me of Angular. Html and JavaScript separated. You could say that React has a mini language to learn if you consider jsx... Especially because the directives are way less then the syntax sugar Jsx has (I do like jsx tho).

    • @RR-et6zp
      @RR-et6zp 2 года назад

      exactly, that's why I think react is actually easier

    • @RR-et6zp
      @RR-et6zp 2 года назад

      @@Ivcota the founder worked with angular first yea

    • @Ivcota
      @Ivcota 2 года назад

      @@RR-et6zp Yeah the current code bases I've been working on are fully React now. With typescript, react is pretty amazing lol

  • @abkcshs233
    @abkcshs233 5 лет назад +2

    Amazing video. Probably saved me hours

  • @kurasaored2775
    @kurasaored2775 6 лет назад +2

    can you share your (settings/plugins) for vscode please :)

    • @caremyok
      @caremyok 6 лет назад

      +99

    • @drehimself
      @drehimself  6 лет назад +2

      Take a look at my vscode vs sublime video. I go over most of my settings/plugins there. There might be some new ones I've installed since then though.

    • @caremyok
      @caremyok 6 лет назад

      thanks

  • @soufiane_akki
    @soufiane_akki 6 лет назад

    what's the name of indentation coloring plugin in vscode ?

    • @drehimself
      @drehimself  6 лет назад +1

      Indent Rainbow: marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow.
      Pairs nicely with: marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer

  • @drlucky5474
    @drlucky5474 6 лет назад

    I learn a lot as beginner here. Thanks...

  • @abdullahalamin1384
    @abdullahalamin1384 3 года назад

    Jsx give you the power of full javascript... We should consider react as a ui library, that's why it gives us other functionality through writing pure js... But Vue Js is a framework. And every framework is not like original programming language. It's common thing... Every Framework make it's own syntax to make things easier for developer to build application..... Vue Js is powerfull because it has all good feature of react and angular in it.. Vue Js is the most readable and organized . It gives developer to be confident to complete a project as he likes. One problem is that, it is not well backed like react. React Although is good but the native javascript and html in its code structure look messy and difficult to read... . So decide yourself what you should choose.

  • @aleaallee
    @aleaallee 4 года назад

    I prefer Vue because of the directives, before learning vue, I took a peek to react and Vue code and found react's code to be too "bloated" for my tastes, but I could somewhat understand Vue, that's why I decided on learning Vue. It's a shame most job offers require React where I live.

  • @orbitx16
    @orbitx16 3 года назад

    great tutorial

  • @mahendrawijaya5372
    @mahendrawijaya5372 6 лет назад

    sir, can you make video tutorial vue js in part web to mobile apk.?. And im interesting in your video. 😊

    • @drehimself
      @drehimself  6 лет назад +2

      I'm not sure what you mean. If you mean a mobile app using Vue, check out my videos on NativeScript Vue and Vue Native.

    • @mahendrawijaya5372
      @mahendrawijaya5372 6 лет назад

      Andre Madarang what I mean is how to create a mobile app from a web view.?

    • @Fil-Dev
      @Fil-Dev 6 лет назад +1

      @@mahendrawijaya5372 You can use Ionic / Cordova

  • @danbirsan5594
    @danbirsan5594 3 года назад

    Vue seems better in every situation :D

  • @Jackdisc567
    @Jackdisc567 3 года назад

    Definately vue.