Branchwell

Inkspring / website · inkspring.ai / src / render.tsx

Raw 204 B on 5bffdf96ef1270b6efc7a26e168164d5bb2c3b49
1import React from 'react';
2import { renderToString } from 'react-dom/server';
3import { App } from './App';
4export function render(pathname: string) { return renderToString(<App pathname={pathname} />); }