Skip to content

ui-router-server / ssr / DehydrateOptions

Interface: DehydrateOptions ​

Defined in: dehydrate.ts:21

Options for `dehydrate`.

Properties ​

PropertyModifierTypeDescriptionDefined in
shouldDehydrate?readonly(candidate) => booleanDecides which resolves the payload carries. It is called once for each resolve dehydrate would otherwise draw: declared by its state with a string token, resolved, and not NOWAIT. Returning false keeps the resolve out of the payload, unlisted, and the client re-runs it on boot as it would without a payload. Without it, every such resolve is drawn.dehydrate.ts:29