Skip to content

Commit

Permalink
Forgot to port the actual key assignment over in the benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-claudia committed Oct 12, 2024
1 parent 6e50918 commit 472e59e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion performance/components/shuffled-keyed-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const shuffledKeyedTree = () => {
shuffle()
var vnodes = []
for (const key of keys) {
vnodes.push(m("div.item", {key}))
vnodes.push(m.key(key, m("div.item")))
}
return vnodes
}

0 comments on commit 472e59e

Please sign in to comment.