Demoing an issue with {{yield}} in Svelte 1.3.0
npm install
npm test
Try these variations by changing main.svelte
:
- uncomment the commented block - it's still incorrect, but
person
is no longer undefined inside of the loop - move the commented block to after the loop - now it's undefined in each place, including outside of the loop