Put in order · Vue.js course · Module 15: TypeScript & Nuxt

useFetch Lifecycle in Nuxt

Arrange the lifecycle of data fetched by useFetch in Nuxt SSR:

Items to put in order

  • Client receives HTML with data
  • useFetch executes a request on the server
  • Data serialized to HTML payload
  • Hydration - client takes over data reactivity

You can check the correct answer by solving this task in the CodeWorlds game.