Inkspring / website / src / render.tsx
| 1 | import React from 'react'; |
| 2 | import { renderToString } from 'react-dom/server'; |
| 3 | import { App } from './App'; |
| 4 | export function render(pathname: string) { return renderToString(<App pathname={pathname} />); } |