Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fabric: Support for interleaving/followup transactions in RCTMounting…
…Manager (iOS) Summary: Imagine a case where we initiate a synchronous state update right in the middle of the mount transaction. With the current implementation, the mount transaction caused by the change will be mounted right inside the in-flight transaction, which will probably cause a crash or incorrect mounting side-effects (which will cause a crash later). Instead of executing all mounting instructions cased by the state change, we actually need to execute them right after the end of the current transaction (synchronously, inside the same main run loop tick). This diff implements exactly this. Changelog: [Internal] Fabric-specific internal change. Reviewed By: mdvacca Differential Revision: D18444730 fbshipit-source-id: 3e777a7aa70ff28205d40588970c7478869b6899
- Loading branch information