# Islands / partial hydration / lazy slices

Feature 8 of 14, in the group "Other features". Labels across 23 meta-frameworks: 15 1st-party, 5 Experimental, 0 Third-party, 3 Manual.

## What it is and why it matters

Normally every interactive component on a page hydrates, so its JavaScript downloads and runs. Islands, deferred hydration, and server islands keep most of the page as plain HTML and hydrate (or render on demand) only the parts that need it. This merged row takes each framework's best label across the partial-hydration and server-island capabilities.

## Gotchas

- `<ClientOnly>` and `clientOnly` skip server rendering; they are not deferred hydration.

## Labels

| Framework | Label | Points |
| --- | --- | --- |
| [Next](https://framework-compare.vercel.app/frameworks/next.md) | 1st-party | 2 |
| [Nuxt](https://framework-compare.vercel.app/frameworks/nuxt.md) | Experimental | 1 |
| [SvelteKit](https://framework-compare.vercel.app/frameworks/sveltekit.md) | Manual | 0 |
| [SolidStart](https://framework-compare.vercel.app/frameworks/solidstart.md) | Experimental | 1 |
| [TanStack Start (React)](https://framework-compare.vercel.app/frameworks/tanstack-start-react.md) | Experimental | 1 |
| [TanStack Start (Solid)](https://framework-compare.vercel.app/frameworks/tanstack-start-solid.md) | Experimental | 1 |
| [Pracht](https://framework-compare.vercel.app/frameworks/pracht.md) | 1st-party | 2 |
| [Waku](https://framework-compare.vercel.app/frameworks/waku.md) | 1st-party | 2 |
| [Ember](https://framework-compare.vercel.app/frameworks/ember.md) | Manual | 0 |
| [Astro](https://framework-compare.vercel.app/frameworks/astro.md) | 1st-party | 2 |
| [React Router](https://framework-compare.vercel.app/frameworks/react-router.md) | Experimental | 1 |
| [Qwik City](https://framework-compare.vercel.app/frameworks/qwik-city.md) | 1st-party | 2 |
| [Angular (SSR)](https://framework-compare.vercel.app/frameworks/angular.md) | 1st-party | 2 |
| [Marko](https://framework-compare.vercel.app/frameworks/marko.md) | 1st-party | 2 |
| [Fresh](https://framework-compare.vercel.app/frameworks/fresh.md) | 1st-party | 2 |
| [Analog](https://framework-compare.vercel.app/frameworks/analog.md) | 1st-party | 2 |
| [Vike](https://framework-compare.vercel.app/frameworks/vike.md) | Manual | 0 |
| [RedwoodSDK](https://framework-compare.vercel.app/frameworks/redwoodsdk.md) | 1st-party | 2 |
| [Remix 3](https://framework-compare.vercel.app/frameworks/remix.md) | 1st-party | 2 |
| [Void (React)](https://framework-compare.vercel.app/frameworks/void-react.md) | 1st-party | 2 |
| [Void (Vue)](https://framework-compare.vercel.app/frameworks/void-vue.md) | 1st-party | 2 |
| [Void (Svelte)](https://framework-compare.vercel.app/frameworks/void-svelte.md) | 1st-party | 2 |
| [Void (Solid)](https://framework-compare.vercel.app/frameworks/void-solid.md) | 1st-party | 2 |

## How to enable it in each framework

### Next

Label: **1st-party** (2 of 2 points).

Server Components keep a component's JavaScript out of the browser ([server and client components](https://nextjs.org/docs/app/getting-started/server-and-client-components)). Every Client Component still hydrates: no hydrate-on-visible/idle/never control is documented (`next/dynamic` with `ssr: false` is client-only rendering, not deferred hydration), although React hydrates each `<Suspense>` boundary as its own unit and prioritizes the one being interacted with ([streaming guide](https://nextjs.org/docs/app/guides/streaming)). Enabling [`cacheComponents: true`](https://nextjs.org/docs/app/api-reference/config/next-config-js/cacheComponents) (the same flag as in [section 4](https://framework-compare.vercel.app/features/caching), enabled here) renders a cached shell and fills request-time holes. That is functionally close to a server island, but the API is an uncached data boundary inside Suspense, not a named island with its own cache entry.

Example of building it yourself:

Pages and layouts are Server Components by default and send no component JavaScript. Mark only the interactive part with `'use client'`. That component still hydrates, but the rest of the page stays server-only.

```tsx
// app/[id]/page.tsx (Server Component)
import LikeButton from '@/app/ui/like-button'
import { getPost } from '@/lib/data'

export default async function Page({ params }: { params: Promise<{ id: string }> }) {
  const { id } = await params
  const post = await getPost(id)
  return (
    <main>
      <h1>{post.title}</h1>
      <LikeButton likes={post.likes} />
    </main>
  )
}
```

```tsx
// app/ui/like-button.tsx
'use client'

import { useState } from 'react'

export default function LikeButton({ likes }: { likes: number }) {
  // …
}
```

Source: [Next.js: Server and Client Components](https://nextjs.org/docs/app/getting-started/server-and-client-components)

### Nuxt

Label: **Experimental** (1 of 2 points).

Documented [lazy hydration](https://nuxt.com/docs/4.x/directory-structure/app/components) (`hydrate-on-visible`, `-on-idle`, `-on-interaction`, `-on-media-query`, `hydrate-never` on `Lazy*` components, SFC only; on by default; the switch is `experimental.lazyHydration`) and [`features.noScripts`](https://nuxt.com/docs/4.x/guide/going-further/features) / `noScripts`:

```vue
<template>
  <div>
    <LazyMyComponent hydrate-on-visible />
  </div>
</template>
```

*Adapted from [the components docs](https://nuxt.com/docs/4.x/directory-structure/app/components).* Server components and islands stay experimental: [server components and islands](https://nuxt.com/docs/4.x/guide/concepts/server-components) render a component with no client JS; prop changes refetch the island ([`<NuxtIsland>`](https://nuxt.com/docs/4.x/api/components/nuxt-island)), and props travel as query parameters so island responses can be cached by a CDN. `nuxt-client` selective hydration works only on local `.vue` SFCs, and slots passed to `nuxt-client` components are server-rendered and not interactive.

Gotchas:

- `nuxt-client` hydration and `Lazy*` hydration only work on SFCs; slot content passed to `nuxt-client` components is not interactive.

### SvelteKit

Label: **Manual** (0 of 2 points).

No first-party islands are documented; all interactive components hydrate, though disabling hydration for a whole route is possible ([page options](https://svelte.dev/docs/kit/page-options)):

```ts
export const csr = false;
```

*From [the page options docs](https://svelte.dev/docs/kit/page-options).*

### SolidStart

Label: **Experimental** (1 of 2 points).

No first-party islands are documented: released SolidStart v2 reserves `experimental.islands` and only accepts `false` ([config reference](https://v1.solidjs.com/solid-start/v2/reference/config/solid-start)). Solid 2's `@solidjs/web` has experimental server components (a component returned from a `"use server"` function and mounted with `dynamicComponent`; [docs](https://docs.solidjs.com/guides/ai-sdk-chat)), not used by this port. [`clientOnly`](https://docs.solidjs.com/reference/solid-web/rendering-ssr/client-only) skips SSR for a single component, which is not islands.

Example of building it yourself:

Solid 2's experimental server components replace islands. A `"use server"` function returns a component, the client mounts it with `dynamicComponent`, and only the client components passed in as props or children hydrate. Turn it on with `serverFunctions: { components: true }` on `@solidjs/vite-plugin`.

```tsx
// src/routes/story.tsx
import { dynamicComponent } from 'solid-js'

async function getStory(id: number) {
  'use server'
  const story = await db.stories.get(id)
  return (props) => (
    <article>
      <h1>{story.title}</h1>
      <footer>{props.children}</footer>
    </article>
  )
}

export default function StoryPage(props) {
  const Story = dynamicComponent(() => getStory(props.storyId))
  return (
    <Story>
      <ShareBar />
    </Story>
  )
}
```

Source: [Solid: RFC 11, Server components (experimental)](https://github.com/solidjs/solid/blob/main/documentation/solid-2.0/11-server-components.md)

### TanStack Start (React)

Label: **Experimental** (1 of 2 points).

[`<Hydrate when={visible()}>`](https://tanstack.com/start/latest/docs/framework/react/guide/deferred-hydration) keeps the server HTML, splits the child into its own chunk, and defers hydration (`load`, `idle`, `visible`, `media`, `interaction`, `condition`, `never`).

```tsx
import { Hydrate } from '@tanstack/react-start'
import { visible } from '@tanstack/react-start/hydration'

<Hydrate when={visible()}>
  <Reviews />
</Hydrate>
```

*From [the deferred hydration guide](https://tanstack.com/start/latest/docs/framework/react/guide/deferred-hydration).* `<ClientOnly>` is different: it skips SSR rather than deferring hydration. Experimental [Server Components](https://tanstack.com/start/latest/docs/framework/react/guide/server-components) are also available via `rsc: { enabled: true }` and `@vitejs/plugin-rsc`. This port uses neither.

Gotchas:

- `<Hydrate>` is a newer API: check the linked guide for current behavior.

### TanStack Start (Solid)

Label: **Experimental** (1 of 2 points).

The same `<Hydrate>` from `@tanstack/solid-start` ([guide](https://tanstack.com/start/latest/docs/framework/solid/guide/deferred-hydration)); the usage mirrors the React snippet. That guide's prose is still copied from the React page, so its runtime behaviour is less proven. TanStack Start documents no Server Components for Solid. This port does not use `<Hydrate>`.

```tsx
import { Hydrate } from '@tanstack/solid-start'
import { visible } from '@tanstack/solid-start/hydration'

<Hydrate when={visible({ rootMargin: '400px' })}>
  <Reviews />
</Hydrate>
```

*From [the Solid deferred hydration guide](https://tanstack.com/start/latest/docs/framework/solid/guide/deferred-hydration) (component wrapper omitted; the page's prose still refers to React).*

Gotchas:

- `<Hydrate>` is a newer API: check the linked guide for current behavior.

### Pracht

Label: **1st-party** (2 of 2 points).

Set `hydration: "islands"` per route, with interactive components discovered from `src/islands/`; `hydration: "none"` gives a zero-JS page ([islands](https://pracht.resynapse.dev/docs/islands)).

```ts
route("/", "./routes/home.tsx", {
  render: "ssg",
  hydration: "islands",
});
```

*Adapted from [the islands docs](https://pracht.resynapse.dev/docs/islands).* [`server islands`](https://pracht.resynapse.dev/docs/server-islands) render a fragment per request with cookies and middleware context while the surrounding page stays SSG/ISG. This port sets neither, so it uses full hydration.

Gotchas:

- Server islands are a newer API: check the linked guide for current behavior.

### Waku

Label: **1st-party** (2 of 2 points).

[`lazy slices`](https://waku.gg/#lazy-slices) are documented as similar to Astro's server islands. There is no partial hydration.

```tsx
<Slice id="two" lazy fallback={<p>Two is loading...</p>} />
```

*Adapted from [the Waku docs](https://waku.gg/#lazy-slices).*

### Ember

Label: **Manual** (0 of 2 points).

Nothing to enable: no first-party partial hydration is documented; SSR is app-wide (community `vite-ember-ssr` here; official [FastBoot](https://github.com/ember-fastboot/ember-cli-fastboot)).

Example of building it yourself:

Serve the page with a small entry instead of `app/entry.js`. Then mount each interactive component into its placeholder with `renderComponent` from `@ember/renderer`. The rest of the page stays static HTML.

```gjs
// app/islands.js (the only <script type="module"> on a static page)
import { renderComponent } from '@ember/renderer';
import FavoriteButton from './components/islands/favorite-button';

const islands = { 'favorite-button': FavoriteButton };

for (const el of document.querySelectorAll('[data-island]')) {
  const args = JSON.parse(el.dataset.args ?? '{}');
  el.replaceChildren(); // no hydration: drop the server markup, then render fresh
  renderComponent(islands[el.dataset.island], { into: el, args });
}

// app/components/islands/favorite-button.gjs
import Component from '@glimmer/component';
import { tracked } from '@glimmer/tracking';
import { on } from '@ember/modifier';

export default class FavoriteButton extends Component {
  @tracked saved = false;
  toggle = () => (this.saved = !this.saved);
  <template>
    <button type="button" {{on "click" this.toggle}}>
      {{if this.saved "Saved" "Save"}} {{@title}}
    </button>
  </template>
}
```

Source: [RFC 1099: renderComponent](https://github.com/emberjs/rfcs/blob/main/text/1099-renderComponent.md)

### Astro

Label: **1st-party** (2 of 2 points).

Zero client JS by default; `client:load`, `client:idle`, `client:visible`, `client:media`, `client:only`. `server:defer` server islands need an adapter; props travel in an encrypted query string. Server islands were experimental in astro@4.12 (`experimental.serverIslands`) and the flag was removed in astro@5.0, where the feature is available without it; the guide carries no experimental label. ([islands](https://docs.astro.build/en/concepts/islands/), [framework-components](https://docs.astro.build/en/guides/framework-components/), [server-islands](https://docs.astro.build/en/guides/server-islands/), [upgrade-to/v5](https://docs.astro.build/en/guides/upgrade-to/v5/), [astro-4120](https://astro.build/blog/astro-4120/))

Example of building it yourself:

Components render to HTML with no client JS unless a `client:*` directive hydrates them. `server:defer` turns an Astro component into a server island that renders after the page, with fallback content until it arrives.

```astro
---
// src/pages/index.astro
import Counter from '../components/Counter.jsx';
import Avatar from '../components/Avatar.astro';
import GenericAvatar from '../components/GenericAvatar.astro';
---
<Counter client:visible />

<Avatar server:defer>
  <GenericAvatar slot="fallback" />
</Avatar>
```

Source: [Astro: Server islands](https://docs.astro.build/en/guides/server-islands/)

### React Router

Label: **Experimental** (1 of 2 points).

Experimental RSC (React 19+): `unstable_reactRouterRSC` from `@react-router/dev/vite` plus experimental `@vitejs/plugin-rsc`; `unstable_`-prefixed and still unstable in 8.5.2. No islands or partial-hydration primitive documented. `splitRouteModules` only splits client exports. ([react-server-components](https://reactrouter.com/how-to/react-server-components), [code-splitting](https://reactrouter.com/explanation/code-splitting))

Example of building it yourself:

Swap `reactRouter()` for the unstable RSC plugin and add `@vitejs/plugin-rsc` after it. Route modules then render as React Server Components, and only `'use client'` modules ship JavaScript.

```ts
// vite.config.ts
import { defineConfig } from 'vite'
import { unstable_reactRouterRSC as reactRouterRSC } from '@react-router/dev/vite'
import rsc from '@vitejs/plugin-rsc'

export default defineConfig({
  plugins: [reactRouterRSC(), rsc()],
})
```

Source: [React Router: React Server Components](https://reactrouter.com/how-to/react-server-components)

### Qwik City

Label: **1st-party** (2 of 2 points).

Resumability: no hydration step; state and listeners are serialized in HTML and handler chunks load lazily. The FAQ says Qwik does not use partial hydration (islands). `qwikify$` (`@builder.io/qwik-react`) gives React islands with `client:visible`/`client:idle`. ([resumable](https://qwik.dev/docs/concepts/resumable/), [faq](https://qwik.dev/docs/faq/), [react](https://qwik.dev/docs/integrations/react/))

Example of building it yourself:

Qwik components do not hydrate. The click handler below is serialized into the HTML and its code chunk loads on the first click. React components can still run as islands through `qwikify$` with a `client:*` prop.

```tsx
// src/components/counter/counter.tsx
import { component$, useSignal } from '@builder.io/qwik'

export const Counter = component$(() => {
  const count = useSignal(0)
  // no JS runs until the first click; then only this handler loads
  return <button onClick$={() => count.value++}>Increment {count.value}</button>
})
```

```tsx
// src/integrations/react/slider.tsx
/** @jsxImportSource react */
import { qwikify$ } from '@builder.io/qwik-react'
import { Slider } from '@mui/material'

export const MUISlider = qwikify$(Slider)
// usage in a Qwik component: <MUISlider client:visible />
```

Source: [Qwik: Resumable](https://qwik.dev/docs/concepts/resumable/), [Qwik: React integration](https://qwik.dev/docs/integrations/react/)

### Angular (SSR)

Label: **1st-party** (2 of 2 points).

Incremental hydration via `@defer` with `hydrate on idle/viewport/interaction/hover/immediate/timer/when` and `hydrate never`; the v22 guide says it is enabled by default with `provideClientHydration()`. Stable since v20 per the [roadmap](https://angular.dev/roadmap) (developer preview in v19), and on by default since v22.0.0, when `withIncrementalHydration` was deprecated ([withIncrementalHydration](https://angular.dev/api/platform-browser/withIncrementalHydration)); the v22 guide pages carry no stability label. ([incremental-hydration](https://angular.dev/guide/incremental-hydration), [hydration](https://angular.dev/guide/hydration))

Example of building it yourself:

Incremental hydration is on by default with `provideClientHydration()`. A `@defer` block with a `hydrate` trigger renders on the server and stays dehydrated until the trigger fires.

```ts
// src/app/app.config.ts
providers: [provideClientHydration()],
```

```html
<!-- src/app/pages/book.page.ts template -->
<app-book-detail [book]="book()" />

@defer (hydrate on viewport) {
  <app-related-books [bookId]="book().id" />
}

@defer (on viewport; hydrate never) {
  <app-static-footer />
}
```

Source: [Angular: Incremental hydration](https://angular.dev/guide/incremental-hydration)

### Marko

Label: **1st-party** (2 of 2 points).

Zero JS by default; the compiler ships only interactive code and the client resumes instead of re-running templates; `import X from "<tag>" with { load: "visible#hero" }` defers a tag bundle. The docs describe an islands-like result without a server/client component split. ([fine-grained-bundling](https://markojs.com/docs/explanation/fine-grained-bundling), [why-is-marko-fast](https://markojs.com/docs/explanation/why-is-marko-fast), [lazy-loading](https://markojs.com/docs/reference/lazy-loading))

Example of building it yourself:

Interactive code ships by default only for tags with client state or handlers. To delay one tag's JS further, import it with a `load` trigger. The server still renders its HTML; the browser fetches the bundle when `#reviews` scrolls into view.

```marko
// src/routes/$id/+page.marko
import BookReviews from "<book-reviews>" with { load: "visible#reviews?rootMargin=200px" }

<book-detail book=$global.data.book/>

<section id="reviews">
  <BookReviews bookId=$global.data.book.id/>
</section>
```

Source: [Marko: Lazy loading](https://markojs.com/docs/reference/lazy-loading)

### Fresh

Label: **1st-party** (2 of 2 points).

Islands are the core model: only island JS ships and bundles are code-split; files live in `islands/` or `(_islands)`; props must be serializable. No lazy/idle/visible hydration timing is documented; Preact `lazy()` + `<Suspense>` is documented for code-splitting an island. ([islands](https://usefresh.dev/docs/concepts/islands), [architecture](https://usefresh.dev/docs/concepts/architecture), [common-patterns](https://usefresh.dev/docs/examples/common-patterns))

Example of building it yourself:

Any component in `islands/` ships JS; everything else renders to HTML only. In the Books port the layout is server-only, and just the search box and the mobile drawer hydrate.

```tsx
// routes/_layout.tsx
import BookSearch from '@/islands/BookSearch.tsx';
import MobileSidebar from '@/islands/MobileSidebar.tsx';
import MobileSidebarTrigger from '@/islands/MobileSidebarTrigger.tsx';
import { define } from '../utils.ts';

export default define.layout(function Layout({ Component, url }) {
  const current = searchParamsFromUrl(url.searchParams);
  return (
    <>
      <MobileSidebar pathname={url.pathname}>
        {/* server-rendered children passed into an island */}
        <BookSidebar current={current} idPrefix="mobile" mobile />
      </MobileSidebar>
      <header>
        <MobileSidebarTrigger />
        <BookSearch current={current} />
      </header>
      <main><Component /></main>
    </>
  );
});
```

Source: [Fresh: Islands](https://usefresh.dev/docs/concepts/islands)

### Analog

Label: **1st-party** (2 of 2 points).

Angular incremental hydration: `@defer (hydrate on viewport | idle | interaction | immediate)` blocks, enabled with `provideClientHydration(withIncrementalHydration())` on Angular 21 and by default on Angular 22. Analog's streaming SSR page builds on it; streaming itself is experimental (`experimental.streaming`). ([streaming-ssr](https://analogjs.org/docs/features/server/streaming-ssr), [incremental-hydration](https://angular.dev/guide/incremental-hydration))

Example of building it yourself:

Enable incremental hydration, then wrap a part of the page in `@defer` with a `hydrate` trigger. It renders on the server and hydrates when it scrolls into view.

```ts
// src/app/app.config.ts (Angular 21; on by default with provideClientHydration() from Angular 22)
import { provideClientHydration, withIncrementalHydration } from '@angular/platform-browser';
// providers: [provideClientHydration(withIncrementalHydration()), /* … */]

// src/app/pages/books/[id].page.ts
import { Component, signal } from '@angular/core';
import { Reviews } from '../../reviews/reviews';

@Component({
  imports: [Reviews],
  template: `
    <h1>{{ title() }}</h1>
    @defer (hydrate on viewport) {
      <app-reviews />
    } @placeholder {
      <div>Reviews</div>
    }
  `,
})
export default class BookPage {
  protected title = signal('Dune');
}
```

Source: [Angular: Incremental hydration](https://angular.dev/guide/incremental-hydration), [Analog: Streaming SSR](https://analogjs.org/docs/features/server/streaming-ssr)

### Vike

Label: **Manual** (0 of 2 points).

No islands or partial hydration documented. `<ClientOnly>` renders a component in the browser only, which is client-only rendering. The React Server Components extension `vike-react-rsc` is listed as work in progress (npm 0.0.0) and is not credited. ([ClientOnly](https://vike.dev/ClientOnly), [extensions](https://vike.dev/extensions))

Example of building it yourself:

Make the page HTML-only so it ships no page JavaScript. Then `+client.tsx`, the page's only browser code, hydrates each marked component by hand.

```tsx
// renderer/+config.ts
export default {
  meta: { Page: { env: { server: true, client: false } } }, // HTML-only
}

// pages/about/+Page.tsx (server only)
<div data-island="like" data-props={JSON.stringify({ bookId })}>
  <LikeButton bookId={bookId} />
</div>

// pages/about/+client.tsx
import { hydrateRoot } from 'react-dom/client'
import { LikeButton } from '../../components/LikeButton'

for (const el of document.querySelectorAll<HTMLElement>('[data-island="like"]')) {
  hydrateRoot(el, <LikeButton {...JSON.parse(el.dataset.props!)} />)
}
```

Source: [Vike: Render Modes](https://vike.dev/render-modes) · [Vike: +client.js](https://vike.dev/client)

### RedwoodSDK

Label: **1st-party** (2 of 2 points).

React Server Components are the default; only components marked `"use client"` ship JavaScript and hydrate. ([react-server-components](https://docs.rwsdk.com/core/react-server-components))

Example of building it yourself:

Pages are server components by default and send no JavaScript. Only the component marked `"use client"` ships code and hydrates.

```tsx
// src/app/components/LikeButton.tsx
"use client";
import { useState } from "react";

export function LikeButton() {
  const [likes, setLikes] = useState(0);
  return <button onClick={() => setLikes(likes + 1)}>Like ({likes})</button>;
}

// src/app/pages/BookPage.tsx (server component, no client JS of its own)
import { LikeButton } from "@/app/components/LikeButton";

export async function BookPage({ params }) {
  const book = await getBook(params.id);
  return (
    <article>
      <h1>{book.title}</h1>
      <p>{book.description}</p>
      <LikeButton />
    </article>
  );
}
```

Source: [RedwoodSDK: React Server Components](https://docs.rwsdk.com/core/react-server-components)

### Remix 3

Label: **1st-party** (2 of 2 points).

Pages are server-rendered HTML; only components wrapped in `clientEntry(import.meta.url, Component)` hydrate. `<Frame src="..." fallback={...}>` streams a server-rendered region into the page and can load it lazily. ([interactivity](https://docs.remix.run/interactivity/#cliententry), [streaming-ui-with-frames](https://docs.remix.run/streaming-ui-with-frames/))

Example of building it yourself:

Pages are server HTML. Only a component wrapped in `clientEntry(import.meta.url, ...)` is loaded and hydrated in the browser, with its props serialized into the page.

```tsx
// app/actions/books/public/add-to-cart.tsx
import { clientEntry, on } from "remix/component";
import type { Handle } from "remix/component";

export const AddToCart = clientEntry(
  import.meta.url,
  function AddToCart(handle: Handle<{ bookId: string }>) {
    let added = false;
    return () => (
      <button
        type="button"
        mix={on("click", () => {
          added = true;
          handle.update();
        })}
      >
        {added ? "Added" : "Add to cart"}
      </button>
    );
  },
);
```

Source: [Remix: Interactivity, hydration boundaries with clientEntry](https://docs.remix.run/interactivity/#cliententry)

### Void (React)

Label: **1st-party** (2 of 2 points).

Name a page `*.island.tsx` and import interactive components with `import Counter from './_Counter' with { island: 'load' }`. The strategies are `load`, `visible`, `idle` and `media:(query)`. Components imported without the attribute ship no JavaScript. Island pages have no client router (full-page navigation), and island pages without a loader are prerendered automatically. ([islands](https://void.cloud/guide/pages-routing/islands))

Example of building it yourself:

Name the page `*.island.tsx` and import each interactive component with an `island` import attribute. Components imported without it render to HTML and ship no JavaScript. Island pages have no client router.

```tsx
// pages/about.island.tsx
import Counter from './_counter' with { island: 'visible' } // load | visible | idle | media:(query)
import StaticNote from './_static-note'

export default function About() {
  return (
    <main>
      <StaticNote />
      <Counter />
    </main>
  )
}
```

Source: [Void: Islands](https://void.cloud/guide/pages-routing/islands)

Gotchas:

- Island pages have no client router: links out of them are full page loads.

### Void (Vue)

Label: **1st-party** (2 of 2 points).

Name a page `*.island.vue` and import interactive components with `import Counter from './_Counter' with { island: 'load' }`. The strategies are `load`, `visible`, `idle` and `media:(query)`. Components imported without the attribute ship no JavaScript. Island pages have no client router (full-page navigation), and island pages without a loader are prerendered automatically. ([islands](https://void.cloud/guide/pages-routing/islands))

Example of building it yourself:

Name the page `*.island.vue` and import each interactive component with an `island` import attribute. Components imported without it render to HTML and ship no JavaScript. Island pages have no client router.

```vue
<!-- pages/about.island.vue -->
<script setup lang="ts">
import Counter from './_Counter.vue' with { island: 'visible' } // load | visible | idle | media:(query)
import StaticNote from './_StaticNote.vue'
</script>

<template>
  <main>
    <StaticNote />
    <Counter />
  </main>
</template>
```

Source: [Void: Islands](https://void.cloud/guide/pages-routing/islands)

Gotchas:

- Island pages have no client router: links out of them are full page loads. In the local Vue build the island page's chunk, static component included, still sat in the main pages bundle; the island page itself never requested it.

### Void (Svelte)

Label: **1st-party** (2 of 2 points).

Name a page `*.island.svelte` and import interactive components with `import Counter from './_Counter' with { island: 'load' }`. The strategies are `load`, `visible`, `idle` and `media:(query)`. Components imported without the attribute ship no JavaScript. Island pages have no client router (full-page navigation), and island pages without a loader are prerendered automatically. ([islands](https://void.cloud/guide/pages-routing/islands))

Example of building it yourself:

Name the page `*.island.svelte` and import each interactive component with an `island` import attribute. Components imported without it render to HTML and ship no JavaScript. Island pages have no client router.

```svelte
<!-- pages/about.island.svelte -->
<script lang="ts">
  import Counter from './_Counter.svelte' with { island: 'visible' } // load | visible | idle | media:(query)
  import StaticNote from './_StaticNote.svelte'
</script>

<main>
  <StaticNote />
  <Counter />
</main>
```

Source: [Void: Islands](https://void.cloud/guide/pages-routing/islands)

Gotchas:

- Island pages have no client router: links out of them are full page loads.

### Void (Solid)

Label: **1st-party** (2 of 2 points).

Name a page `*.island.tsx` and import interactive components with `import Counter from './_Counter' with { island: 'load' }`. The strategies are `load`, `visible`, `idle` and `media:(query)`. Components imported without the attribute ship no JavaScript. Island pages have no client router (full-page navigation), and island pages without a loader are prerendered automatically. ([islands](https://void.cloud/guide/pages-routing/islands))

Example of building it yourself:

Name the page `*.island.tsx` and import each interactive component with an `island` import attribute. Components imported without it render to HTML and ship no JavaScript. Island pages have no client router.

```tsx
// pages/about.island.tsx
import Counter from './_counter' with { island: 'visible' } // load | visible | idle | media:(query)
import StaticNote from './_static-note'

export default function About() {
  return (
    <main>
      <StaticNote />
      <Counter />
    </main>
  )
}
```

Source: [Void: Islands](https://void.cloud/guide/pages-routing/islands)

Gotchas:

- Island pages have no client router: links out of them are full page loads.

---

HTML version: https://framework-compare.vercel.app/features/islands · All pages: https://framework-compare.vercel.app/llms.txt · Data: https://framework-compare.vercel.app/api/index.json
