8000 fix: only re-run directly applied attachment if it changed by Rich-Harris · Pull Request #15962 · sveltejs/svelte · GitHub
[go: up one dir, main page]

Skip to content

fix: only re-run directly applied attachment if it changed #15962

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 20, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add note
  • Loading branch information
Rich-Harris committed May 20, 2025
commit b18407a99bea0d9f555037c6b65ea93f87c32cc0
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/** @import { Effect } from '#client' */
import { block, branch, destroy_effect, effect } from '../../reactivity/effects.js';
import { block, branch, destroy_effect } from '../../reactivity/effects.js';

// TODO in 6.0 or 7.0, when we remove legacy mode, we can simplify this by
// getting rid of the block/branch stuff and just letting the effect rip.
// see https://github.com/sveltejs/svelte/pull/15962

/**
* @param {Element} node
Expand Down
Loading
0