mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
79f01b2425
The DOM renderer assumes that resetAfterCommit is called after prepareForCommit without any nested commits in between. That may not be the case now that syncUpdates forces a nested update. To address, this changes the type of prepareForCommit to return a value which is later passed to resetAfterCommit.