Skip to content

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

Interface: PagePayload ​

Defined in: packages/lit-ui-router-ssr/src/render.ts:33

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/render.ts:38
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 the dehydrate option drew the payload: a payload passed in whole is reported by its bytes alone.packages/lit-ui-router-ssr/src/render.ts:45