You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Pull Request resolved: #41114
changelog: [internal]
MountItemDispatcher integrates with FabricUIManager in a non-obvious ways. This diff documents some of that.
Reviewed By: NickGerleman
Differential Revision: D50494929
fbshipit-source-id: ed3c1748765ca4590035be20f045ecfb14af86c2
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountItemDispatcher.java
+15-1Lines changed: 15 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -161,9 +161,17 @@ public void dispatchMountItems(Queue<MountItem> mountItems) {
161
161
}
162
162
}
163
163
164
+
/*
165
+
* Executes view commands, pre mount items and mount items in the respective order:
166
+
* 1. View commands.
167
+
* 2. Pre mount items.
168
+
* 3. Regular mount items.
169
+
*
170
+
* Does nothing if `viewCommandMountItemsToDispatch` and `mountItemsToDispatch` are empty.
171
+
* Nothing should call this directly except for `tryDispatchMountItems`.
172
+
*/
164
173
@UiThread
165
174
@ThreadConfined(UI)
166
-
/** Nothing should call this directly except for `tryDispatchMountItems`. */
0 commit comments