Returning JSX fragments in Deepkit Template Server Side Rendering

Solution for Returning JSX fragments in Deepkit Template Server Side Rendering
is Given Below:

I’m attempting to implement the TechEmpower Benchmarks for Deepkit Framework and specifically the Fortune Test which requires server side rendering.

The testing harness expects that the result will be an HTML document including the <!DOCTYPE html> tag at the top like this:

<!DOCTYPE html>
<html>
<head>
<title>Fortunes</title>
... remaining markup

Based on the current JSX implementation provided by @deepkit/template I’m not sure how I should go about returning this response.

I tried using Fragment syntax like what is supported by React but returning this from my controller results in an empty response:

<>
  {`<!DOCTYPE html>`}
  <html>
    <head>
      <title>Fortunes</title>
    </head>
    <body>
      <table>
        <tr>
          <th>id</th>
          <th>message</th>
        </tr>
        {fortunes.map(({ id, message }) => (
          <tr>
            <td>{id}</td>
            <td>{message}</td>
          </tr>
        ))}
      </table>
    </body>
  </html>
</>