Re:Why I Like Using Maps (and WeakMaps) for Handling DOM Nodes
by JoeSloth on Friday May 05, 2023 @11:08PM
(#35837578)
This is great for some use cases, but in situations like a very large list mentioned in the article it’s likely that a real world app would be virtualizing the nodes.. which would make an id a more stable key than a dom node.
[ Parent
| on HN ]
There are no comments on this comment yet.