HydrateIslandsOptionsinterface
import { HydrateIslandsOptions } from '@mortar-kit/core'
interface HydrateIslandsOptionsOptions for hydrateIslands.
Properties
bricks: readonly AnyBrick[] | Readonly<Record<string, BrickLoader>>The site's bricks: the list the server renders with, or loaders by brick name (
lazyBricks(import.meta.glob(...))), so a page downloads only the bricks of its own islands.actions?: BrickActionsHow island forms post:
islandActions(...). Without it, forms post as plain HTML forms.root?: ParentNodeWhere to look for islands. Default: the document.