Branchwell

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

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