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.
untrack
svelte/attachments
1 parent ef48d35 commit 4e72b7dCopy full SHA for 4e72b7d
.changeset/short-ads-rhyme.md
@@ -0,0 +1,5 @@
1
+---
2
+'svelte': patch
3
4
+
5
+fix: import untrack directly from client in `svelte/attachments`
packages/svelte/src/attachments/index.js
@@ -2,7 +2,7 @@
/** @import { Attachment } from './public' */
import { noop, render_effect } from 'svelte/internal/client';
import { ATTACHMENT_KEY } from '../constants.js';
-import { untrack } from 'svelte';
+import { untrack } from '../index-client.js';
6
import { teardown } from '../internal/client/reactivity/effects.js';
7
8
/**
0 commit comments