function / @typed/react/view

view

Render an existing React node through the same scoped DOM/HTML interpreter.

Package version
1.0.0-beta.13
Category
function

Import

import { view } from "@typed/react/view";

Signatures

export declare function view(node: ReactNode, options?: ViewOptions): Fx.Fx<RenderEvent, ReactRenderError, Scope.Scope | RenderTemplate | RandomValues>;
export declare function view<P extends object, E = never, R = never>(component: ComponentType<P>, props: PropsSource<NoInfer<P>, E, R>, options?: ViewOptions): Fx.Fx<RenderEvent, E | ReactRenderError, R | Scope.Scope | RenderTemplate | RandomValues>;

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source