Skip to content

Commit

Permalink
Unify perform{Sync,Concurrent}WorkOnRoot implementation (#31029)
Browse files Browse the repository at this point in the history
Over time the behavior of these two paths has converged to be
essentially the same. So this merges them back into one function. This
should save some code size and also make it harder for the behavior to
accidentally diverge. (For the same reason, rolling out this change
might expose some areas where we had already accidentally diverged.)

DiffTrain build for commit 3c7667a.
  • Loading branch information
acdlite authored and poteto committed Sep 25, 2024
1 parent 84c5504 commit cae834f
Show file tree
Hide file tree
Showing 23 changed files with 2,404 additions and 3,276 deletions.
2 changes: 1 addition & 1 deletion compiled-rn/VERSION_NATIVE_FB
Original file line number Diff line number Diff line change
@@ -1 +1 @@
19.0.0-native-fb-f9ebd85a-20240925
19.0.0-native-fb-3c7667a6-20240925
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<4bca13163bdf2a7e2aebc1157f08d847>>
* @generated SignedSource<<b5197c15cfc4e771615c7ad354157216>>
*/

"use strict";
Expand Down Expand Up @@ -420,5 +420,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-f9ebd85a-20240925";
exports.version = "19.0.0-native-fb-3c7667a6-20240925";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ea49f130730ba47ba310d1225b58693a>>
* @generated SignedSource<<547023b89ae2d39a60356535570a6d4a>>
*/

"use strict";
Expand Down Expand Up @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-f9ebd85a-20240925";
exports.version = "19.0.0-native-fb-3c7667a6-20240925";
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ea49f130730ba47ba310d1225b58693a>>
* @generated SignedSource<<547023b89ae2d39a60356535570a6d4a>>
*/

"use strict";
Expand Down Expand Up @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-f9ebd85a-20240925";
exports.version = "19.0.0-native-fb-3c7667a6-20240925";

Large diffs are not rendered by default.

Loading

0 comments on commit cae834f

Please sign in to comment.