Closed NuroDev closed 3 weeks ago
Hi @NuroDev, Thank you for your report.
Please replace jsr:@hono/hono@4.6.5/jsx/dom
with jsr:@hono/hono@4.6.5/jsx
.
I apologize for the difficulty this causes on the Hono side, but jsr:@hono/hono@4.6.5/jsx/dom
is a lightweight version specialized for cases where the DOM is handled in a web browser. jsr:@hono/hono@4.6.5/jsx
must be used when generating strings on the server side.
Ah, my mistake. Yeah that seems to fix the issue, my bad 🤦
Thank you for the help @usualoma!
What version of Hono are you using?
4.6.5
What runtime/platform is your app running on?
Bun, Deno, Node.js
What steps can reproduce the bug?
Reproduction: dash.deno.com/playground/light-stoat-50
Or the code to run locally:
What is the expected behavior?
Ideally it should render a web page using the provided JSX.
What do you see instead?
Additional information
I primarily discovered this issue when trying to create a basic Deno Deploy project but testing the code on both Bun & Node.js I run into the same issue.