0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
svelte/site/content/docs
Simon H d9698551fb
feat: allow #each to iterate over iterables (#8626)
closes #7425
Uses a new ensure_array_like function to use Array.from in case the variable doesn't have a length property ('length' in 'some string' fails, therefore obj?.length). This ensures other places can stay unmodified. Using for (const x of y) constructs would require large changes across the each block code where it's uncertain that it would work for all cases since the array length is needed in various places.
2023-05-26 13:29:43 +02:00
..
00-introduction.md
01-getting-started.md
02-component-format.md docs: clarify statement about initial values for props (#8477) 2023-04-18 16:27:04 +02:00
03-template-syntax.md feat: allow #each to iterate over iterables (#8626) 2023-05-26 13:29:43 +02:00
04-run-time.md chore: unbundled esm (#8613) 2023-05-24 15:31:09 +02:00
05-compile-time.md chore: unbundled esm (#8613) 2023-05-24 15:31:09 +02:00
06-accessibility-warnings.md feat: add a11y no-noninteractive-element-interactions (#8391) 2023-04-18 11:12:33 +02:00