Open gaetan-puleo opened 4 months ago
@gaetan-puleo Can you tell me the usecase you are addressing this with? (sample repo would be best) wouter is useful only for routing in hono's client components.
Sorry for the delay.
Wouter can used on the serverside too.
You can path a ssrPath like this
It allow to support SSR and client side rendering at the same time.
I will create a small repo to show you.
@apvarun here the minimal repo https://github.com/gaetan-puleo/wouter-hono-ssr-not-working
I didn't try to use client side router here. It's only to show you how the SSR should works with Wouter Hono
I think the Router is not working on the server side.
I tried to set ssrPath nothing was rendered.