pub fn el_key(key: &impl ToString) -> ElKey
Expand description
Attach given key
to the El
.
The keys are used by the diffing algorithm to determine the correspondence between old and new elements and helps to optimize the insertion, removal and reordering of elements.