Skip to content

Commit b78a8b1

Browse files
committed
[crud] Fix deps comparison bug (#31599)
Fixes a bug with the experimental `useResourceEffect` hook where we would compare the wrong deps when there happened to be another kind of effect preceding the ResourceEffect. To do this correctly we need to add a pointer to the ResourceEffect's identity on the update. I also unified the previously separate push effect impls for resource effects since they are always pushed together as a unit. DiffTrain build for [c11c951](c11c951)
1 parent 2183a80 commit b78a8b1

23 files changed

+1515
-1314
lines changed

Diff for: compiled-rn/VERSION_NATIVE_FB

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.0.0-native-fb-64f89510-20241119
1+
19.0.0-native-fb-c11c9510-20241120

Diff for: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<7337c975b782c06f58634906f8c652f3>>
10+
* @generated SignedSource<<2185e4149a140a1970869525d77110da>>
1111
*/
1212

1313
"use strict";
@@ -420,5 +420,5 @@ __DEV__ &&
420420
exports.useFormStatus = function () {
421421
return resolveDispatcher().useHostTransitionStatus();
422422
};
423-
exports.version = "19.0.0-native-fb-64f89510-20241119";
423+
exports.version = "19.0.0-native-fb-c11c9510-20241120";
424424
})();

Diff for: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<542cc20a212c2c5a90e35bae5c8211c5>>
10+
* @generated SignedSource<<fd16f72b5915df19d7034a54360181c3>>
1111
*/
1212

1313
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
203203
exports.useFormStatus = function () {
204204
return ReactSharedInternals.H.useHostTransitionStatus();
205205
};
206-
exports.version = "19.0.0-native-fb-64f89510-20241119";
206+
exports.version = "19.0.0-native-fb-c11c9510-20241120";

Diff for: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<542cc20a212c2c5a90e35bae5c8211c5>>
10+
* @generated SignedSource<<fd16f72b5915df19d7034a54360181c3>>
1111
*/
1212

1313
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
203203
exports.useFormStatus = function () {
204204
return ReactSharedInternals.H.useHostTransitionStatus();
205205
};
206-
exports.version = "19.0.0-native-fb-64f89510-20241119";
206+
exports.version = "19.0.0-native-fb-c11c9510-20241120";

0 commit comments

Comments
 (0)