Branchwell

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

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