I know the Fresh framework is in its early stages of development and that by default comes with Preact for rendering anything. But also, I've heard that Fresh is meant to be framework agnostic. My eventual goal is to create a framework that competes with Preact and JSX, but for the time being I'm just looking to render static HTML as strings. I haven't found anything about this online. As a proof of concept I'm trying to do something like this:
// index.ts
export default `<h1>Title</h1>`;
But I end up with the following error:
An error occurred during route handling or page rendering. Error:
<h1>Title</h1> is not a valid HTML tag name in <<h1>Title</h1> params="
[object Object]" url="http://localhost:8000/" route="/">`
Is there any way to achieve this?