Settings

Theme

A virtual DOM in 200 lines of JavaScript

lazamar.github.io

4 points by lazamar 2 years ago · 3 comments

Reader

murpjack 2 years ago

Is there a chance that the one million nodes in the example - or a where a large list exists in some case where order matters - that nodes could be rearranged?

  • lazamarOP 2 years ago

    Do you mean whether nodes could be rearranged without recreating them? This would require identifying them with IDs, like React can do. That's definitely possible, but not something covered in the article or supported in the associated library. Although the article does mention it.

murpjack 2 years ago

Nice!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection