honoJSXExample
HTTP
v1
Preview
1
2
3
4
5
6
7
8
9
10
11
/** @jsxImportSource npm:hono@3/jsx */
export
const
honoExample
=
(
)
=>
{
const
jsx
=
<
div
>
Test
{
1
+
1
}
</
div
>
;
return
new
Response
(
jsx
.
toString
(
)
,
{
headers
:
{
"Content-Type"
:
"text/html"
,
}
,
}
)
;
}
;
Browser preview