variable / @typed/astro/client

default

Creates Astro’s native hydration entry. Each island owns its reactive render lifetime; replacement and unmount close the previous render before proceeding.

Package version
1.0.0-beta.13
Category
Hydration and lifecycle
Since
1.0.0

Import

import clientRenderer from "@typed/astro/client";

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

Signatures

declare const _default: (element: HTMLElement) => (component: unknown, props: Record<string, unknown>, slots?: Record<string, string>, { client }?: {
    client: string;
}) => Promise<void>;
export default _default;

Source