MrBlach
MrBlach
HHono
Created by MrBlach on 10/13/2024 in #help
SSR and Client components using Cloudflare pages
Hello, I have been trying to get server-side rendering and client components to work for some time now, but I can't seem to make it function properly. I used the template from bun create hono and selected Cloudflare Pages. While the page gets rendered, it doesn't get hydrated on the client. I have looked into the hono/jsx-dom documentation (https://hono.dev/docs/guides/jsx-dom) and this example (https://github.com/honojs/examples/tree/main/hono-vite-jsx), but I have been unable to use them with a server-side rendered application. Any help would be greatly appreciated!
1 replies