Open
Description
Describe the Problem
Users often are confused by why their {#each}
doesn't work. And when they do discover keyed each, they struggle to understand why keyed each fixes their problem.
Proposed Solutions
Notes
- It should be explicitly mentioned that an unkeyed each is the same as keying the index
- Add animation/visual to better represent what is happening in the DOM
- Describe the process as syncing data and DOM
- Remove the need for a Child component as that splits the relevant code and can act as a distraction
- Provide a side-by-side comparison
- Either unify the examples or provide multiple examples that are more cohesive and comparable