We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39b1fe2 commit 90556e9Copy full SHA for 90556e9
src/internal/Component.js
@@ -48,7 +48,7 @@ function make_dirty(component, key) {
48
if (!component.$$.dirty) {
49
dirty_components.push(component);
50
schedule_update();
51
- component.$$.dirty = {};
+ component.$$.dirty = Object.create(null);
52
}
53
component.$$.dirty[key] = true;
54
@@ -188,4 +188,4 @@ export class SvelteComponentDev extends SvelteComponent {
188
console.warn(`Component was already destroyed`); // eslint-disable-line no-console
189
};
190
191
-}
+}
0 commit comments