Skip to content
Myr

preact.ts

This file

Path

benchmarks/jsx/src/preact.ts

5 lines · 215 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–5why, one step back
1import { h, Fragment } from 'preact'
2import { renderToString } from 'preact-render-to-string'3import { buildPage } from './page'45export const render = () => renderToString(buildPage({ jsx: h, Fragment })() as any)