full site update

This commit is contained in:
2025-07-24 18:46:24 +02:00
parent bfe2b90d8d
commit 37a6e0ab31
6912 changed files with 540482 additions and 361712 deletions

View File

@@ -37,6 +37,8 @@ function extractDirectives(inputProps, clientDirectives) {
extracted.hydration.componentExport.value = value;
break;
}
// This is a special prop added to prove that the client hydration method
// was added statically.
case "client:component-hydration": {
break;
}
@@ -95,7 +97,9 @@ async function generateHydrateScript(scriptOptions, metadata) {
island.props["component-url"] = await result.resolve(decodeURI(componentUrl));
if (renderer.clientEntrypoint) {
island.props["component-export"] = componentExport.value;
island.props["renderer-url"] = await result.resolve(decodeURI(renderer.clientEntrypoint));
island.props["renderer-url"] = await result.resolve(
decodeURI(renderer.clientEntrypoint.toString())
);
island.props["props"] = escapeHTML(serializeProps(props, metadata));
}
island.props["ssr"] = "";