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.
Signature
Section titled “Signature”const ATTR_ISLAND_FRAMELESS: "data-tr-island-frameless"See also
Section titled “See also”deserializeIslandPropsislandIdserializeIslandPropsATTR_ISLAND_IDATTR_ISLAND_KEYATTR_ISLAND_PROPSEDITOR_BRIDGE_PROPEDITOR_BRIDGE_PROTOCOLISLAND_CAPTURE_HOLDS_GLOBALISLAND_ELEMENTIslandPropsErrorEditorBridgeIslandEditorIslandModuleEditorBridgeSelectionEditorSelectionIslandComponentIslandEditorOptionsIslandPropsIslandServerFrame