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

Html overview

Added in v1.0.0


Table of contents


utils

renderHtmlTemplate

Signature

export declare function renderHtmlTemplate(ctx: RenderContext.RenderContext)

Added in v1.0.0

renderToHtml

Signature

export declare function renderToHtml<E, R>(fx: Fx.Fx<RenderEvent | null, E, R>): Fx.Fx<string, E, R>

Added in v1.0.0

renderToHtmlString

Signature

export declare function renderToHtmlString<E, R>(fx: Fx.Fx<RenderEvent | null, E, R>): Effect.Effect<string, E, R>

Added in v1.0.0

serverLayer

Signature

export declare const serverLayer: Layer.Layer<
  RenderContext.RenderContext | RenderQueue.RenderQueue | RenderTemplate | CurrentEnvironment,
  never,
  never
>

Added in v1.0.0

staticLayer

Signature

export declare const staticLayer: Layer.Layer<
  RenderContext.RenderContext | RenderQueue.RenderQueue | RenderTemplate | CurrentEnvironment,
  never,
  never
>

Added in v1.0.0