Compare commits

...

1 Commits

Author SHA1 Message Date
Greg Johnston
bdb8ff1884 fix: hydration ID mismatch with nested Suspense 2024-02-09 16:30:40 -05:00
2 changed files with 2 additions and 0 deletions

View File

@@ -98,6 +98,7 @@ pub fn App() -> impl IntoView {
</Route>
</Routes>
</main>
<footer><p>"Does the footer hydrate correctly?"</p></footer>
</Router>
}
}

View File

@@ -245,6 +245,7 @@ where
HydrationCtx::continue_from(current_id);
HydrationCtx::next_component();
HydrationCtx::next_component();
leptos_dom::View::Suspense(current_id, core_component)
}