Skip to content
Myr

react.ts

This file

Path

benchmarks/jsx/src/react-jsx/react.ts

4 lines · 161 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 'react-dom/server'
2import { buildPage } from './page-react.tsx'34export const render = () => renderToString(buildPage()() as any)