Skip to content

Commit 577333e

Browse files
committed
add each-block-keyed-iife test against regression (#3436)
1 parent daf4b46 commit 577333e

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export default {
2+
html: `
3+
<div>1</div>
4+
<div>2</div>
5+
<div>3</div>
6+
`
7+
};
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<script>
2+
const arr = [1, 2, 3];
3+
</script>
4+
5+
{#each arr as item ((() => item)())}
6+
<div>
7+
{item}
8+
</div>
9+
{/each}

0 commit comments

Comments
 (0)