Skip to content

lit-ui-router-ssr / HydrationSignature

Interface: HydrationSignature ​

Defined in: packages/lit-ui-router-ssr/src/signature.ts:14

What a document's signature block carries, as readHydrationSignature reads it: version checked, the rest as the block holds it.

prerender() writes state as the name of the state the router stood on and params as an object of that state's url parameters, each encoded by its type as the url spells it. Narrow both before use.

Properties ​

PropertyModifierTypeDescriptionDefined in
params?readonlyunknownThat state's url parameter values, keyed by parameter id.packages/lit-ui-router-ssr/src/signature.ts:20
state?readonlyunknownThe name of the state the document was drawn for.packages/lit-ui-router-ssr/src/signature.ts:18
versionreadonlystringThe lit-ui-router-ssr version that drew the document.packages/lit-ui-router-ssr/src/signature.ts:16