TehShrike / svelte-yield-issue-repro

Demoing an issue with {{yield}} in Svelte 1.3.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demoing an issue with {{yield}} in Svelte 1.3.0

npm install
npm test

Try these variations by changing main.svelte:

  1. uncomment the commented block - it's still incorrect, but person is no longer undefined inside of the loop
  2. move the commented block to after the loop - now it's undefined in each place, including outside of the loop

About

Demoing an issue with {{yield}} in Svelte 1.3.0


Languages

Language:HTML 100.0%