Question · Vue.js course · Module 15: TypeScript & Nuxt
useFetch in Nuxt 3
What does the useFetch composable do in Nuxt 3?
Answer options
- Only sends POST requests to the API
- Generates HTML code statically
- Fetches data on the server (SSR) and client, avoiding double fetching
- Creates middleware for routing
You can check the correct answer by solving this task in the CodeWorlds game.