mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
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.