ui-router-server / ssr / DehydrateOptions
Interface: DehydrateOptions
Defined in: dehydrate.ts:21
Options for `dehydrate`.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
shouldDehydrate? | readonly | (candidate) => boolean | Decides 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 |