Branchwell

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

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