This adds support for VDOM's key feature, which allows for more efficient patches by reordering nodes instead of mutating them. For now, we just use the id attribute, as it's a convenient unique identifier. At some point, we may want to add an option to customize which attribute is used.
This adds support for VDOM's key feature, which allows for more efficient patches by reordering nodes instead of mutating them. For now, we just use the id attribute, as it's a convenient unique identifier. At some point, we may want to add an option to customize which attribute is used.