You are using useFetch WRONG! (I hope you don't)
💪🏻 useFetch is a mighty composable to fetch data in your Nuxt.js application. It can do so many things, from updating state to refreshing calls easily and even data caching is possible. But often I see that people misuse useFetch because it is so tempting to use all the features, even when you shouldn't. In this video I show the most common mistake with useFetch and what to use instead! Key points: 🤔 A demo application with a common mistake - can you spot it before? ✅ How to fix the bug 2️⃣ Approaches to avoid that useFetch mistake Links: 📺 Is your function really a composable? • Is your function REALLY a Vue composable? 🔗 ofetch ($fetch in Nuxt): https://github.com/unjs/ofetch 🔗 useFetch docs: https://v3.nuxtjs.org/examples/compos... Don't forget to hit that "Subscribe" button, ring the notification bell and give a thumbs up! 🌐 Connect further: Website: https://www.lichter.io Twitter/X: / thealexlichter Twitch: / thealexlichter Chapters: 00:00 Intro 00:50 Demo application overview 01:51 Submitting the form 02:14 The issue pops up 02:40 Explaining the issue 04:42 First solution 06:21 How the issue is caused 07:43 Second solution 09:44 My rule of thumb 10:29 Outro

The new Vue 3.4 feature NOBODY talks about… (+ raffle)

Why you should use useState()

useAsyncData vs. useFetch 🤯

#4 Vibe Engineering - open source and free apps with AI, live

DejaVue #E035 - Error Handling in Vue

You NEED to STOP Using Google Right Now

What is tsdown?

The BEST way to proxy your API in Nuxt

Nuxt vs. Nitro - What does what in your App

Caching in Nitro 💾

Nuxt Test Utils - A Primer to Testing in Nuxt

Why AI Agents are either the best or worst thing we’ve ever built

You're Probably Using Nuxt Wrong

How Ghost Shops Triggered China’s Biggest Food Scandal | AB Explained

Avoid losing Reactivity in your Vue Application

Custom $fetch and Repository Pattern in Nuxt 3

"We Ran Out Of Columns" - The Worst Codebase Ever

Nuxt Build or Nuxt Generate?

3 Must Know Tips For Nuxt.js Developers

