Developers' Mistakes with Nuxt – Julien Huang
summary
Clarifies that useFetch is a composable and must run inside a component setup, while dataFetch is a utility used to trigger effectful requests outside the setup lifecycle; common bug is calling useFetch after setup or during runtime so the fetch never wires into Nuxt’s reactive lifecycle, producing missing SSR data or duplicated client requests. Shows the exact API to call and where to place it so server and client fetch behavior matches expectations.
AI-written summary · about
related talks
31mCommon Mistakes in Vue and Nuxt and How to Avoid Them
23mHandling Data at Scale for React Developers
03mParallel Fetch Requests In Nuxt
26mThe State of Nuxt
28mTestable Nuxt
08mUnderstand the hard parts of Nuxt
33mNuxt's Hidden Treasures: 8 Gems Every Nuxt Dev Should Know!
38mLarge Scale Nuxt Architecture
