Branchwell

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

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