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

Renderable overview

Added in v1.0.0


Table of contents


utils

Renderable (type alias)

Signature

export type Renderable<E = never, R = never> =
  | Renderable.Value
  | Placeholder<any, E, R>
  | { readonly [key: string]: Renderable<E, R> | Placeholder<any, E, R> | unknown } // TODO: Should we manage data attributes this way?
  | Placeholder<any, E, R>
  | Effect<any, E, R>
  | Fx<any, E, R>
  | ReadonlyArray<Renderable<E, R>>

Added in v1.0.0

Renderable (namespace)

Added in v1.0.0

Primitive (type alias)

Signature

export type Primitive = string | number | boolean | null | undefined | void | ReadonlyArray<Primitive>

Added in v1.0.0

Value (type alias)

Signature

export type Value = Primitive | Rendered | RenderEvent

Added in v1.0.0