Common Mistakes in Vue and Nuxt and How to Avoid Them
In this talk at Nuxt Nation 2023, Daniel Kelly shares common mistakes he's seen people make in Vue and Nuxt, and how to avoid them. He covers a variety of topics, including:
- Misusing the key directive on
v-for
loops - Expecting non-reactive dependencies to trigger reactive updates
- Fetching data on both the server and client sides unnecessarily
- Using
$fetch
instead ofuseFetch
when fetching data on the server - Not typing the responses from third-party APIs
- Using watchers when computed properties would be more appropriate
- Trying to completely replace a reactive object
Whether you're a seasoned Vue developer or just getting started, you're sure to learn something from Daniel's talk. So watch the video and avoid making these common mistakes in your own Vue and Nuxt applications!
Nuxt Nation 2023: Daniel Kelly - Common Mistakes in Vue and Nuxt and How to Avoid Them