Skip to content

Commit 21a5169

Browse files
authored
Use special blank_object() for component.$$.dirty
1 parent 90556e9 commit 21a5169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/Component.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function make_dirty(component, key) {
4848
if (!component.$$.dirty) {
4949
dirty_components.push(component);
5050
schedule_update();
51-
component.$$.dirty = Object.create(null);
51+
component.$$.dirty = blank_object();
5252
}
5353
component.$$.dirty[key] = true;
5454
}

0 commit comments

Comments
 (0)