mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
f40cdcdfe7
Summary: Index adjustment is tricky. Seems more reliable to adjust each immediate mutation, and then immediately adjust delayed mutations based on it, rinse and repeat. Previously it was possible to construct examples where the UI would get into a weird state because index adjustment caused items to be inserted in the wrong location. Changelog: [Internal] Reviewed By: kacieb Differential Revision: D24232926 fbshipit-source-id: f8c445213528c2d2aedacf3e0c73c5bbeb62bc3d