This is a recent regression with recent leptos 0.8.0, because it wasn't happening in early versions of 0.5.0, but it also happens now on 0.5.0-alpha and confirmed it doesn't happen in v0.4.7
To reproduce add the following around the <Routes> component in the ssr_axum example:
<ErrorBoundary fallback=|_| { view! { <p>"An error occurred"</p> } }>
Resulting panic when the SSR runs:
thread 'tokio-runtime-worker' panicked at /home/luke/dev/sources/thaw/thaw_utils/src/dom/ssr_mount_style.rs:168:18:
you are using SSRMountStyleProvider without a <head> tag
I've tried moving where the ErrorBoundary is as well and it doesn't seem to matter.
This is a recent regression with recent leptos 0.8.0, because it wasn't happening in early versions of 0.5.0, but it also happens now on 0.5.0-alpha and confirmed it doesn't happen in v0.4.7
To reproduce add the following around the
<Routes>component in the ssr_axum example:Resulting panic when the SSR runs:
I've tried moving where the ErrorBoundary is as well and it doesn't seem to matter.