prevent hanging with large numbers of links (#604)

This commit is contained in:
Rich Harris
2019-04-29 13:10:15 -04:00
parent 1707fe8e9d
commit bc8e5501cd
7 changed files with 63 additions and 18 deletions

View File

@@ -0,0 +1,7 @@
<script>
const list = Array(20).fill().map((_, i) => i + 1);
</script>
{#each list as a}
<a href="boom/{a}">{a}</a>
{/each}