<For .../>
Reactive version of array.map for reactive lists
# Arguments
| name | type | description |
|---|---|---|
| each | signal/iterable object | an iterable or a signal whose value is iterable |
| restoreFocus | boolean | when items are reordered, the DOM swap can steal focus and scroll position. Set to true to save and restore both around the swap. |
| fallback | any | rendered when the list is empty |
| reactiveIndex | boolean | when true, the callback receives a reactive signal for the index instead of a plain number |
# Simple Test
Use a For to display some values, blink updates
# Heavy Test
Stress test
# Fallback
For when the list has no items, render a fallback