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 c4182f5 commit 0e57669Copy full SHA for 0e57669
packages/svelte/src/internal/client/proxy.js
@@ -141,11 +141,13 @@ export function proxy(value, onchange) {
141
set(ls, n);
142
}
143
144
+
145
// when we delete a property if the source is a proxy we remove the current onchange from
146
// the proxy `onchanges` so that it doesn't trigger it anymore
147
if (typeof s.v === 'object' && s.v !== null && STATE_SYMBOL in s.v) {
148
s.v[PROXY_ONCHANGE_SYMBOL](onchange, true);
149
150
151
set(s, UNINITIALIZED);
152
update_version(version);
153
0 commit comments