Nuxt Interview Prep
  • Home
  • Study
  • Train
  • Mock interview
  • Flashcards
  • Notes
  • Checklists
  • Glossary
  • Behavioural
  • Stats
  • Syncoff
  • Settings
  • Nuxt docs
martinnavratil.dev

Conrad Nuxt docs

Study section
  1. Notes
  2. Conrad Nuxt docs

General Nuxt questions from your four Nuxt docs notes: rendering modes and route rules, the request lifecycle and islands, routing, data fetching, state and errors, the Nitro server and response fragmentation, performance, assets and testing.

Pages

  • Rendering and lifecycleCSR, SSR and prerendering, route rules (swr, isr, prerender, ssr false, cors, proxy), data baked into prerendered pages, CORS, the order things run on the server and in the browser, and server components with nuxt-client and slots.
  • Routing, data and stateWhat happens on a NuxtLink click, route middleware versus server middleware, $fetch versus useFetch versus useAsyncData, keys, await versus lazy versus server false, cookies during SSR, what useState is and isn't, errors on the server and in the browser, and SEO tags.
  • The Nitro serverh3, unstorage and unenv, server routes and their types, validated input, event.$fetch, server middleware versus Nitro plugins and their hooks, response fragmentation with render:html and render:response, the three ways to cache, varies, and a reusable authenticated handler.
  • Performance, assets and testingWhere to start on a slow page, lazy components versus lazy hydration, NuxtLink prefetching, Nuxt Image, Fonts and Scripts, app/assets versus public, serving .output/public in Kubernetes and on Workers, fonts and layout shift, LCP, and Nuxt's test environments.

Notes for the whole section