H
Hono4mo ago
Kofi

Combine SSR and Client Components without HonoX

What's the prefered way to have these two working together with syntaxic coloration and no raw html in one color in my VS Code editor? SSR: https://hono.dev/docs/guides/jsx Client side: https://hono.dev/docs/guides/jsx-dom
JSX - Hono
Ultrafast web framework for Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Node.js, and others. Fast, but not only fast.
Client Components - Hono
Ultrafast web framework for Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Node.js, and others. Fast, but not only fast.
No description
6 Replies
Kofi
KofiOP4mo ago
Yes, there’s no example how to do it
Aditya Mathur
Aditya Mathur4mo ago
Working on an example, will share soon
Aditya Mathur
Aditya Mathur4mo ago
I have attached a PR in this, not sure when it will be added but you can look at the code - https://github.com/honojs/examples/issues/197
GitHub
Add example to use hono/jsx-dom · Issue #197 · honojs/examples
Many people in the community are unsure how to use Client Componet with hono, basically how to set it up and start using it in dev/prod. I can create a PR for this using vite.
Aditya Mathur
Aditya Mathur4mo ago
It's done you can check out the template
Kofi
KofiOP4mo ago
Thank you solved!
Want results from more Discord servers?
Add your server