#Yew Router and SSR

1 messages · Page 1 of 1 (latest)

brave imp
#

Hey,

When I attempt to render server side with code that uses yew router it panics! Does anyone know how to do server side rendering (using Axum) such that we render the path current path? If anyone has an example of this, that would be greatly appreciated.

lavish bear
#

my ssr project uses yew-router and it works fine

brave imp
#

Thanks @lavish bear and sorry for the silence. I've gotten nearly everything to work now except for what I believe to be a bug related to linearGradient

lavish bear
#

nicee, are you gonna showcase your project?

brave imp
#

Yeah absolutely

#

I just need to solve this last issue

brave imp
#

Alright, all SSR now working (including SSR futures/data fetching - this is so cool!) save for my issue with a linear gradient. I believe the latter to be a bug https://github.com/yewstack/yew/issues/3871

If you have a good suggestion for a work around let me know

GitHub

Problem When attempting to do hydration of a component that has a SVG with a linearGradient, the hydration fails with following panic: main-71a4e29a00acec2f.js:631 panicked at /Users/tfr/.cargo/reg...