Skip to content

lit-ui-router-ssr / lit-ui-router-ssr / PagePayload

Interface: PagePayload ​

Defined in: packages/lit-ui-router-ssr/src/prerender.ts:195

What a page's hydration signature carries of its resolve payload.

Properties ​

PropertyTypeDescriptionDefined in
bytesnumberThe bytes the payload adds to the page's signature as written: its resolves and transported members, escaped as the block spells them.packages/lit-ui-router-ssr/src/prerender.ts:200
unserializable?readonly { state: string; token: string; }[]The resolves `dehydrate` left out of the payload because their value is not plain JSON data and no transporter carries it, each to re-run on the client. Present only when dehydrate drew the payload: a `payload` hook returns the payload alone.packages/lit-ui-router-ssr/src/prerender.ts:208