marcelklehr / vdom-virtualize

Virtualize a DOM node
MIT License
131 stars 27 forks source link

Support for virtual-dom keys #28

Open kesne opened 9 years ago

kesne commented 9 years ago

I think it would be beneficial to have some way to have virtualize handle keys from virtual-dom (https://github.com/Matt-Esch/virtual-dom/blob/master/virtual-hyperscript/README.md#key).

Maybe we can use a non-standard HTML attribute (such as key="someKey") and create the node with the attribute.

I'm happy to make a PR for whatever people are happy with, I just think something like this would be helpful!

damianbaar commented 9 years ago

+ hooks :+1: