dillon1000/react

Commit

Cache list rows by Element ID rather than index

This is important since we are caching element sizes by DOM (in a WeakMap). Toggling (as well as insertion/deletion) might otherwise break this in some cases.
Browse files
Changed paths1 file
First-parent comparison
M src/devtools/views/Components/Tree.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…