mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
fix: <Transition/>
fallback on non-initial page loads
This commit is contained in:
parent
bef4d0dd3b
commit
b8098e7992
1 changed files with 1 additions and 4 deletions
|
@ -130,10 +130,7 @@ where
|
|||
if is_first_run(&first_run, &suspense_context) {
|
||||
let has_local_only = suspense_context.has_local_only()
|
||||
|| cfg!(feature = "csr");
|
||||
if (!has_local_only || child_runs.get() > 0)
|
||||
&& (cfg!(feature = "csr")
|
||||
|| HydrationCtx::is_hydrating())
|
||||
{
|
||||
if (!has_local_only || child_runs.get() > 0) {
|
||||
first_run.set(false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue