Skip to content
Myr

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 file

Take it

The walk stopped after 200 commits: lines older than f0b094d point at it.

Merge commit from forkYusuke Wadabefore adoptionf0b094d

lines 1–4why, one step back
1import { renderToString } from 'preact-render-to-string'
2import { buildPage } from './page-preact'34export const render = () => renderToString(buildPage()() as any)