Skip to content
HomePagesHomePages template kit

ATTR_ISLAND_FRAMELESS

Present on a marker holding no server-rendered output — the island mounts fresh instead of hydrating.

Present on a marker holding no server-rendered output — the island mounts fresh instead of hydrating. Value-less: presence is the whole signal.

The browser loader decides how to mount a marker before that island’s module has loaded, so it cannot ask the module whether it declared serverFrame = false. The DOM has to carry the answer, and the marker is the one thing that knows it — an empty marker means there is nothing for React to hydrate against, whatever made it empty.

Import from @homepages/template-kit or @homepages/template-kit/island-runtime.

const ATTR_ISLAND_FRAMELESS: "data-tr-island-frameless"