mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a7adaf3062
Summary: The mount items executed before the view attach can fail with the RetryableMountingLayerException, which we should either retry or skip the item. This change updates logic for such items to catch these exceptions. Instead of passing `MountingManager` to execute the items, this change now passes a reference to the `MountItemDispatcher` (abstracted through interface to resolve cycle between the manager and dispatcher). The dispatcher executes the queue directly and schedules retry together with the next batch. Changelog: [Internal] Reviewed By: JoshuaGross Differential Revision: D29068063 fbshipit-source-id: 04030b21db188d5617c3448322d25ba77d5fbb9f