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
Include the function name for context on invalid function child (#28362)
Also warn for symbols.
It's weird because for objects we throw a hard error but functions we do
a dev only check. Mainly because we have an object branch anyway.
In the object branch we have some built-ins that have bad errors like
forwardRef and memo but since they're going to become functions later, I
didn't bother updating those. Once they're functions those names will be
part of this.
DiffTrain build for commit c1fd2a9.
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js
+2-2
Original file line number
Diff line number
Diff line change
@@ -9179,7 +9179,7 @@ var devToolsConfig$jscomp$inline_1018 = {
9179
9179
throwError("TestRenderer does not support findFiberByHostInstance()");
9180
9180
},
9181
9181
bundleType: 0,
9182
-
version: "18.3.0-canary-fef30c2e0-20240217",
9182
+
version: "18.3.0-canary-c1fd2a91b-20240217",
9183
9183
rendererPackageName: "react-test-renderer"
9184
9184
};
9185
9185
varinternals$jscomp$inline_1199={
@@ -9210,7 +9210,7 @@ var internals$jscomp$inline_1199 = {
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js
+2-2
Original file line number
Diff line number
Diff line change
@@ -9607,7 +9607,7 @@ var devToolsConfig$jscomp$inline_1060 = {
9607
9607
throwError("TestRenderer does not support findFiberByHostInstance()");
9608
9608
},
9609
9609
bundleType: 0,
9610
-
version: "18.3.0-canary-fef30c2e0-20240217",
9610
+
version: "18.3.0-canary-c1fd2a91b-20240217",
9611
9611
rendererPackageName: "react-test-renderer"
9612
9612
};
9613
9613
varinternals$jscomp$inline_1240={
@@ -9638,7 +9638,7 @@ var internals$jscomp$inline_1240 = {
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js
0 commit comments