Skip to content

Commit bccdc6d

Browse files
committed
fix partial update in non-keyed classic
1 parent a9fceb1 commit bccdc6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frameworks/non-keyed/svelte-classic/src/Main.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
},
5858
partialUpdate = () => {
5959
for (let i = 0; i < data.length; i += 10) {
60-
data[i].label += ' !!!';
60+
// data[i].label += " !!!"; (see https://github.com/sveltejs/svelte/issues/9521)
61+
data[i] = {...data[i], label: data[i].label + ` !!!`}
6162
}
6263
},
6364
remove = (num) => {

0 commit comments

Comments
 (0)