React Helpers
renderToString
Render a React component and return a valid HTML string. For instance, this can be useful when using a third-party library that requires HTML be provided instead of React components.
import { renderToString } from '@shared/react-helpers'
const html = renderToString(<MyComponent />)