mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
385eb1cef1
React components have _mountIndex, that looks like it is their order in DOM. If you swap 2 elements in DOM, their order in children array isn't changed, but their _mountIndex is