-
Notifications
You must be signed in to change notification settings - Fork 156
Closed
Labels
API designProposal for a new or updated Seed API.Proposal for a new or updated Seed API.
Milestone
Description
As I can see from src/virtual_dom/patch.rs
, the seed's virtual DOM module patches the elements in order. This means that I cannot insert an element at the top of the list of elements without updating the rest of the elements. The problem will be visible if CSS animation is applied.
ELM and Hybrids provide a special key
attribute for each item to find matching new and old items.
https://guide.elm-lang.org/optimization/keyed.html
https://hybrids.js.org/template-engine/iteration#keys
MartinKavik and jgrund
Metadata
Metadata
Assignees
Labels
API designProposal for a new or updated Seed API.Proposal for a new or updated Seed API.