/* # Render To String This example shows how to render a component to HTML using rvx DOM. */ import { Async } from "rvx/async"; import { renderToStringAsync } from "rvx/dom"; export function Example() { const promise = renderToStringAsync(() => <>

Hello World!

setTimeout(r, 1000))}> {() => <>This has been rendered asynchronously.} ); return <>Rendering...}> {html =>
{html}
}
; }