We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47a073e commit 3854cb7Copy full SHA for 3854cb7
.changeset/happy-moles-live.md
@@ -0,0 +1,5 @@
1
+---
2
+'svelte': patch
3
4
+
5
+fix: ensure hmr block effects are transparent for transitions
packages/svelte/src/internal/client/dev/hmr.js
@@ -1,4 +1,5 @@
/** @import { Source, Effect } from '#client' */
+import { EFFECT_TRANSPARENT } from '../constants.js';
import { block, branch, destroy_effect } from '../reactivity/effects.js';
import { set_should_intro } from '../render.js';
import { get } from '../runtime.js';
@@ -44,7 +45,7 @@ export function hmr(source) {
44
45
46
if (ran) set_should_intro(true);
47
});
- });
48
+ }, EFFECT_TRANSPARENT);
49
50
ran = true;
51
0 commit comments