mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 14:54:16 +00:00
This commit is contained in:
parent
8a4b972e0b
commit
88742952f0
1 changed files with 3 additions and 1 deletions
|
@ -155,7 +155,9 @@ fn is_first_run(
|
|||
first_run: RwSignal<bool>,
|
||||
suspense_context: &SuspenseContext,
|
||||
) -> bool {
|
||||
if cfg!(feature = "csr") {
|
||||
if cfg!(feature = "csr")
|
||||
|| (cfg!(feature = "hydrate") && !HydrationCtx::is_hydrating())
|
||||
{
|
||||
false
|
||||
} else {
|
||||
match (
|
||||
|
|
Loading…
Reference in a new issue