forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement potential fix for mounting errors during synchronous state …
…updates (v2) (facebook#44492) Summary: Changelog: [internal] This is a new attempt at fixing mounting errors during synchronous state updates after what we tried in facebook#44015. That fix didn't work because `dispatchMountItems` actually makes a copy of the mount items that it's going to process, so when we added the mount items to the list they were actually not being picked up by the current processing. This changes the fix to expose a new list of mount items being processed, and if that's defined then we add it to the list. Otherwise we process as usual. Reviewed By: sammy-SC Differential Revision: D57107212
- Loading branch information
1 parent
4290ef5
commit 81cf125
Showing
2 changed files
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters