Vue 3.3 Has Landed And It Changes Everything About Vue And TypeScript!

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024

ความคิดเห็น • 60

  • @ProgramWithErik
    @ProgramWithErik  ปีที่แล้ว +3

    I have a discord if you'd like to chat more ! discord.gg/8VE2QK2h Also check out my live streams on Friday on this channel! :)

  • @Kats0unam1
    @Kats0unam1 ปีที่แล้ว +13

    Im actually thinking about trying Vue now. Evan is great.

    • @ProgramWithErik
      @ProgramWithErik  ปีที่แล้ว

      Awesome!

    • @brandonleichty
      @brandonleichty ปีที่แล้ว

      You should! It’s great!

    • @KennyFully
      @KennyFully ปีที่แล้ว

      Vie is great for a ton of projects. Trust me, it’s very enjoyable!

  • @walter7812
    @walter7812 ปีที่แล้ว +4

    The way people use "it changes everything" in every title changes everything! 😂
    Good video, thanks!

  • @Pythonology
    @Pythonology ปีที่แล้ว +9

    learning Vue at the moment and I learn a lot from your content. Thanks Erik

  • @mrrolandlawrence
    @mrrolandlawrence ปีที่แล้ว +3

    upgraded already. what an update.

  • @cacup7
    @cacup7 ปีที่แล้ว +1

    That is the support for Typescript that I wanted since the beggining. Really loved this release

  • @tclark
    @tclark ปีที่แล้ว +2

    Love the shirt! Go Bolts!!! ⚡Can't wait to try out Vue 3.3 proper!

  • @brandonleichty
    @brandonleichty ปีที่แล้ว +3

    I wonder if Suspense will ever get out of the experimental state in one of these releases (feels like it’s been years)

  • @safia_khan_official5528
    @safia_khan_official5528 ปีที่แล้ว +1

    Could you please do a detailed videos on these new features so that beginners can understand as well. Thanks

  • @mikestokes2543
    @mikestokes2543 ปีที่แล้ว +6

    love Vue but... seems to be embracing type complexity as opposed to remaining a clean framework.

    • @m-ok-6379
      @m-ok-6379 ปีที่แล้ว +2

      So many people like myself chose Vue cause it was simple and now it is starting to look like garbage.

    • @CuongNguyen-xw8qu
      @CuongNguyen-xw8qu ปีที่แล้ว

      yeah, vue + ts = confusing, unlike react + ts = awesome

  • @Ivan-qp8yd
    @Ivan-qp8yd ปีที่แล้ว

    Wow I am so excited to use these features, Thanks

  • @AngelHdzMultimedia
    @AngelHdzMultimedia ปีที่แล้ว

    If only the top developers on TH-cam would promote Vue more... but they all catter to the React demographic... non stop!!!
    Every time I check my notifications and see a new Fireship video, it's either about A.I. or React, and ocasionally about some other new technology. Videos for views/likes/engagement about all the flaws React has, that Vue already solves, BIG LOL!
    Thanks for being here for the Vue community!!! 🤝🔥

  • @Alcaatraz01
    @Alcaatraz01 ปีที่แล้ว +1

    BTW, the reason they picked Rurouni Kenshin is because that anime is getting a remake that is slated to be released very soon. Just a bit of trivia for you folks from a die hard of the original when I was a kid.

  • @businessoftechnology
    @businessoftechnology ปีที่แล้ว +2

    If you are outputting the "num" as HTML, then the return would be a string, right? To test it we would want to invert to expect a number to be returned and see if TypeScript caught that as an issue.

    • @phoenix-tt
      @phoenix-tt ปีที่แล้ว

      That is true. The way the {{ }} is compiled uses "toDisplayString", which, simply put, converts any value you pass to a string
      edit: And there is no way to change that output, because the compiler doesn't really know about types or what is expected.

    • @ErikHanchett
      @ErikHanchett 8 หลายเดือนก่อน

      If you do {{typeof num}} it's a number. So it's not a string. If you just add in 5, then it's a string by default. But it inherits the type that you set since it's a variable set in the script setup.

  • @allan_archie
    @allan_archie ปีที่แล้ว +1

    Hold on, I've been using typesafety in Nuxt3 for a while now... You mean it's not always been there? I've been living in the future.

  • @SinisterSlay1
    @SinisterSlay1 ปีที่แล้ว +4

    It's cool.
    Not sure why they want to make Vue like react. I'm confused by that, I picked vue because I didn't like the syntax of react. So seeing it turn into react is concerning. I'm still on Vue2 because migrating 20+ projects isn't simple. But I'm starting to wonder if I should even bother or should I just switch to react?

    • @anton-shubin-live
      @anton-shubin-live ปีที่แล้ว +4

      If you don't like Vue leaning into React - consider Svelte.

  • @SXsoft99
    @SXsoft99 ปีที่แล้ว

    defineProps({selected: {type:Number}}) was doing the same thing

  • @pedrohenrique55172
    @pedrohenrique55172 ปีที่แล้ว

    is there a way to make my components implement an interface? My idea is to force components to implement certain method types, in my context for page analytics

  • @dobrilbojilov8184
    @dobrilbojilov8184 ปีที่แล้ว

    Most interesting things are still experimental like defineModel and destruct props.

    • @ProgramWithErik
      @ProgramWithErik  ปีที่แล้ว

      Yeah, I really like those!

    • @user-eq5rm5nh4h
      @user-eq5rm5nh4h ปีที่แล้ว

      destruct props. It is useless to use them, since they cannot be passed to hooks

  • @krzysztofkk6964
    @krzysztofkk6964 ปีที่แล้ว

    not bad, dude

  • @juande891
    @juande891 ปีที่แล้ว

    Hi! Do you have the code uploaded to a repository? could you share it? thank you!

  • @edu.paixao
    @edu.paixao ปีที่แล้ว

    Thank you! 🎉

  • @user-zn5ky3fw5h
    @user-zn5ky3fw5h ปีที่แล้ว

    It seems like Vue going to turn into react in a year or two, half of this new feature are what react already had in 2019 year and earlier

  • @JP-hb4mv
    @JP-hb4mv ปีที่แล้ว

    vue hype cycle - prefer stability

  • @franciscobarroswtxdemos2865
    @franciscobarroswtxdemos2865 ปีที่แล้ว

    I still don't know how do a simple button wrapper in `Vue`. :(
    Example... In react, I would just go `const Button = (props: JSX.IntrinsicAttributes['button'] & { myCustomPropTypes }) => `
    I don't know how to do the same `JSX.IntrinsicAttributes['button']` in Vue.

    • @sinan720
      @sinan720 ปีที่แล้ว +2

      This is actually much simpler in vue. Your Button Wrapper component will automatically inherit the attributes of its child button. Have a look at the fallthrough attributes guide in the vue docs.
      If you want to be more explicit, there is also an interface called ButtonHTMLAttributes which is similar to JSX.IntrinsicAttributes['button']

    • @user-zn5ky3fw5h
      @user-zn5ky3fw5h ปีที่แล้ว

      About props in react it would be better to do HTMLAtributes for defining props

  • @bymaxmndr9888
    @bymaxmndr9888 ปีที่แล้ว +2

    vue is acutally becomming react😂

  • @alerya100
    @alerya100 ปีที่แล้ว +1

    Upgrading from vue2 to vue3 was a tragedy. never such a horrible stuff.

  • @florind7056
    @florind7056 ปีที่แล้ว +1

    vue is combination between react and angular. I still like react more

  • @mdawes306
    @mdawes306 ปีที่แล้ว

    how about a video without typescript

  • @meggi8048
    @meggi8048 ปีที่แล้ว +1

    this $() and $$() and complex slots mechanics are really awful. i hope they simplify this at one point.

    • @ProgramWithErik
      @ProgramWithErik  ปีที่แล้ว +6

      No worries, they did not go forward with that proposal!

  • @m-ok-6379
    @m-ok-6379 ปีที่แล้ว

    Vue3 is starting to look like React which is BS cause I personally chose Vue cause it didn't look like React spaghetti code.

  • @yatsuk
    @yatsuk ปีที่แล้ว +1

    Changed everything again? I tired again and again rewrite my app

    • @tsolanoff
      @tsolanoff ปีที่แล้ว

      You don’t actually need it, just stick to certain version…

    • @yatsuk
      @yatsuk ปีที่แล้ว +1

      @@tsolanoff I stuck with version 2 because of broken backward compatibility. Spend a time learning how to migrate to version 3 and now need to spend a time again for learning how to migrate to version 3.3.

    • @tsolanoff
      @tsolanoff ปีที่แล้ว

      @@yatsuk the major part of all web apps are not being constantly updated just because they do their job. Migrating to new technologies requires many efforts and makes sense only if the current state can’t afford adding new features or supporting proper workability anymore. So as long as your app is working as it’s supposed to there is no need of migration. And you could develop your new projects using new version to follow up the tends.

    • @x0r1k
      @x0r1k ปีที่แล้ว

      Old syntax works as before, you don't need to rewrite anything

  • @D9ID9I
    @D9ID9I ปีที่แล้ว

    toy framework no one cares about.

    • @adampielach4942
      @adampielach4942 ปีที่แล้ว

      Asians do, it's mainly for Asian market

  • @emrysr
    @emrysr ปีที่แล้ว

    does eslint support destructuring the props? i'm still seeing the error "...Destructuring the `props` will cause the value to lose reactivity.eslintvue/no-setup-props-destructure
    ..."

  • @виртуоз_ру
    @виртуоз_ру ปีที่แล้ว

    👍