Skip to main content Link Search Menu Expand Document (external link)

Hydrate overview

Added in v1.0.0


Table of contents


utils

hydrate

Signature

export declare function hydrate<R, E, T extends RenderEvent | null>(
  rendered: Fx.Fx<T, E, R>
): Fx.Fx<ToRendered<T>, E, R | RenderTemplate | RenderContext.RenderContext | RootElement>

Added in v1.0.0

hydrateToLayer

Signature

export declare function hydrateToLayer<R, E, T extends RenderEvent | null>(
  rendered: Fx.Fx<T, E, R>
): Layer.Layer<never, never, R | RenderTemplate | RenderContext.RenderContext | RootElement>

Added in v1.0.0