@tempots/ssr

tempotempotsuiframeworktypescriptdomangular-alternativereact-alternativessrserver-side-rendering

Tentative implementation for Server Side Rendering (SSR) with Tempo.

renderSSR

It contains a single function renderSSR to render the content of a Renderable to a string.

ssr package

Functions

Function

Description

renderSSR({ html, url, selector, makeApp, makeFetch, waitFetch, })

Renders a DOM tree to a string using a fake dom implementation.

Interfaces

Interface

Description

IRequestInit

Type Aliases

Type Alias

Description

FetchFunction

IRequestInfo

RenderSSROptions

Options for server-side rendering.