From 409bdce4d8d839c667867aa6e3cc63e34e41f317 Mon Sep 17 00:00:00 2001 From: Gabriel de Perthuis Date: Thu, 21 Sep 2023 15:51:24 +0200 Subject: [PATCH] Better document the interaction of SsrModes with blocking resources Meant to address users making the same mistake as https://github.com/leptos-rs/leptos/issues/1119 --- docs/book/src/ssr/23_ssr_modes.md | 23 +++++++++++++++++++++-- leptos_reactive/src/resource.rs | 5 +++++ router/src/render_mode.rs | 18 +++++++++--------- 3 files changed, 35 insertions(+), 11 deletions(-) diff --git a/docs/book/src/ssr/23_ssr_modes.md b/docs/book/src/ssr/23_ssr_modes.md index f49597e7ce..e89db9858c 100644 --- a/docs/book/src/ssr/23_ssr_modes.md +++ b/docs/book/src/ssr/23_ssr_modes.md @@ -67,7 +67,7 @@ If you’re using server-side rendering, the synchronous mode is almost never wh - Able to show the fallback loading state and dynamically replace it, instead of showing blank sections for un-loaded data. - _Cons_: Requires JavaScript to be enabled for suspended fragments to appear in correct order. (This small chunk of JS streamed down in a `