preact.ts
This file
Path
benchmarks/jsx/src/react-jsx/preact.ts
4 lines 路 165 bytes 路 TypeScript
Last changed by
Not known.
History of this fileTake it
12345import { renderToString } from 'preact-render-to-string'import { buildPage } from './page-preact'
export const render = () => renderToString(buildPage()() as any)