Skip to content

@epikodelabs/streamix


@epikodelabs/streamix / react/src/public-api / hydrateAtomSnapshot

Function: hydrateAtomSnapshot() ​

hydrateAtomSnapshot(targets, snapshot): void

Defined in: projects/libraries/streamix/react/src/lib/runtime.ts:436

Applies a validated SSR payload to named writable atoms before hydration.

Parameters ​

targets ​

Record<string, Writable<unknown>>

snapshot ​

AtomSnapshot

Returns ​

void

Released under the MIT License.