Open bcomnes opened 5 years ago
Does this cover the use case of a lists of components that map to a specific data object key?
e.g. React keys use case
Say you have a <ul> full of <li> components. You want to reorder the list and morph the change, the key would determine which component is which during the morphed re-order.
<ul>
<li>
Nanomnorph may have this concept built in, but perhaps guard could be a better and more explicit use case for this than overloading the id field.
I need to read the nanomnorph code to see.
Does this cover the use case of a lists of components that map to a specific data object key?
e.g. React keys use case
Say you have a
<ul>
full of<li>
components. You want to reorder the list and morph the change, the key would determine which component is which during the morphed re-order.