import React from 'react' ; import { renderToStaticMarkup } from 'react-dom/server' ; import { App } from './App' ; export async function renderUI ( ) { const { App } = await import ( './App' ) ; return renderToStaticMarkup ( < App />); }