You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the above link, it works as expected. At the very end there is an {#each}{/each} block that has been commented out. If you uncomment that block you will see the error in the console.
Expected behavior
To loop thru thru the set object (perhaps by calling forEach) the same way it would thru an array.
Describe the bug
The
{#each}{/each}
expression does not operate on aSet()
.Logs
To Reproduce
See example here
In the above link, it works as expected. At the very end there is an
{#each}{/each}
block that has been commented out. If you uncomment that block you will see the error in the console.Expected behavior
To loop thru thru the set object (perhaps by calling
forEach
) the same way it would thru an array.Information about your Svelte project:
Browser: Firefox Developer Edition 68.0b2 (64-bit)
OS:
Svelte:
"svelte": "^3.0.0"
with"rollup-plugin-svelte": "^5.0.3",
Severity
Annoying and slightly unexpected. Seems like a potential minor fix. But there is a workaround.
The text was updated successfully, but these errors were encountered: