Module

server.islands

Framework-agnostic islands runtime bootstrap.

Injects a lightweight browser runtime that discovers[data-island]roots, parses serialized props, and emits lifecycle events. Frontend adapters can listen to these events to mount/unmount framework islands.

Functions

islands_snippet 1 str
Return runtime bootstrap script for island lifecycle events.
def islands_snippet(version: str) -> str
Parameters
Name Type Description
version str
Returns
str