useFetch, useLazyfetch with Nuxt 3 - Course part 14

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ม.ค. 2025

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

  • @pi-dev5079
    @pi-dev5079 ปีที่แล้ว +15

    @5:44 you explain how to transform the proxied data using toRaw() method. This was a mystery for me previously, I had no idea how to get around this! Thank you so much!, I am loving this series, your explanations are fantastic.

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

      That’s coooooll ;) thank you for this this is why I am making these videos 😉 subscribe to get more soon ! Have a good day

    • @pi-dev5079
      @pi-dev5079 ปีที่แล้ว

      @@codewithguillaume Oh I was already subscribed when I posted my comment because I think you have created the most helpful Nuxt 3 explainer series! 🤩

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

    Congratulations on the subscriber milestone if you even care about that. Great stuff you're doing man

    • @codewithguillaume
      @codewithguillaume  2 ปีที่แล้ว

      Thank you Josh I really really appreciate coming from you dude! You are one of my favorite youtubers!

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

      Same lol. I dont understand why it was so hard to find any info on this.

  • @ransela6139
    @ransela6139 11 หลายเดือนก่อน +1

    thanks so much! the transform option was exactly the info I needed!!!.. most apis return data array.. but this is the only example I've seen on how to parse it properly.. I need to get better at reading the docs! thank you again

  • @王觉-b7j
    @王觉-b7j 7 หลายเดือนก่อน +1

    Thanks your teaching

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

    lol nice, I was looking for this basic thing for hours because i was mixing nuxt 2 with nuxt 3 features, thank you hehe

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

    thanks for your videos, they are amazing to dive into nuxt

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

    Thank you for this. How do you handle request errors when using useLazyFetch?

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

    So great!

  • @nightcoreplanet8965
    @nightcoreplanet8965 2 หลายเดือนก่อน

    Why my "Loading" is not appearing? I have followed all of the things you're doing. It just makes my website loads longer base on my product..ts loading time? What I want is to render the page and just wait for the API.

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

    Hi, what if i dont want to execute the fetch but only declare it? Then execute it when button is clicked for example

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

    4 private videos found in this play list. Do you have paid courses ? Please let me know. If yes pricing and process please

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

      Hello my friend ! It’s coming videos ! I plan to open a course platform with way more courses and the first will be on Nuxt full-stack app ;) tell me if you are interested !

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

      @@codewithguillaume wow 😲 ❤️ waiting eagerly. Please include firebase SSR integration and firebase function with express js, API, JWT ... along with NUXT. NodeJS server with sqlite and postgresql or mariadb will be a bonus too . Wishing you very best ❤️👍🏻

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

      @@SusanthCom thanks for all these good ideas my friend ! Send me your email I’ll notice you

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

    how do you abort requests in useFetch?

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

    useFetch doesn’t work, when first load or refresh page. Please help me. I fixed it by config option server: false, is that correct?

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

    But how to access slug And based on that slug we can find that product for example if I have route "host/product/productA" in the browser, and I want to render the data of productA. How can I do this?

    • @codewithguillaume
      @codewithguillaume  2 ปีที่แล้ว

      Host/product/[productId] 👍

    • @iUmerFarooq
      @iUmerFarooq 2 ปีที่แล้ว

      @@codewithguillaume but I do like this "pages/product/[slug].vue" what about this?

    • @codewithguillaume
      @codewithguillaume  2 ปีที่แล้ว

      @@iUmerFarooq so it’s not productId it’s slug !

    • @iUmerFarooq
      @iUmerFarooq 2 ปีที่แล้ว

      @@codewithguillaume yes it's slug.

    • @codewithguillaume
      @codewithguillaume  2 ปีที่แล้ว

      @@iUmerFarooq so route.params.slug to get your slug 😊

  • @茗猫-f9t
    @茗猫-f9t ปีที่แล้ว +1

    thanks slaved my life!