Skip to main content
InterviewHubPRO
Section Overview
Q44

Question 44 of 50

Part 3: Advanced Internals, Performance & Production (Senior / Staff)

88%
Nuxt & Universal SSR (50 Qs)•Part 3: Advanced Internals, Performance & Production (Senior / Staff)

Nuxt Islands and Server Components: Zero-JavaScript UI Architecture.

senior LevelCode ExampleComponentsFormsPerformance

In Simple Words: Nuxt Islands (<NuxtIsland>) render components purely on the server and stream static HTML into the client without downloading or executing any component JavaScript bundle on the client.

  • .server.vue components: Ideal for markdown previewers, static banners, and database widgets that do not require interactive client event listeners.
vue
<!-- components/NewsletterStats.server.vue -->
<script setup lang="ts">
// This code ONLY runs on the server; zero JS is shipped to the client!
const subscriberCount = await db.subscribers.count();
</script>

<template>
  <div class="stat-badge">Over {{ subscriberCount }} active subscribers!</div>
</template>