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
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
@@ -1470,11 +1470,11 @@ function convertStringRefToCallbackRef(
1470
1470
throwError(
1471
1471
"Element ref was specified as a string ("+
1472
1472
stringRef+
1473
-
") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information."
1473
+
") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://react.dev/link/refs-must-have-owner for more information."
1474
1474
);
1475
1475
if(1!==returnFiber.tag)
1476
1476
throwError(
1477
-
"Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref"
1477
+
"Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://react.dev/link/strict-mode-string-ref"
1478
1478
);
1479
1479
varinst=returnFiber.stateNode;
1480
1480
if(!inst)
@@ -2271,7 +2271,7 @@ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher,
2271
2271
globalClientIdCounter=0;
2272
2272
functionthrowInvalidHookError(){
2273
2273
throwError(
2274
-
"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."
2274
+
"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
2275
2275
);
2276
2276
}
2277
2277
functionareHookInputsEqual(nextDeps,prevDeps){
@@ -9173,7 +9173,7 @@ var devToolsConfig$jscomp$inline_1014 = {
9173
9173
throwError("TestRenderer does not support findFiberByHostInstance()");
9174
9174
},
9175
9175
bundleType: 0,
9176
-
version: "18.3.0-canary-30ae0baed-20240301",
9176
+
version: "18.3.0-canary-1940cb27b-20240303",
9177
9177
rendererPackageName: "react-test-renderer"
9178
9178
};
9179
9179
varinternals$jscomp$inline_1195={
@@ -9204,7 +9204,7 @@ var internals$jscomp$inline_1195 = {
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js
@@ -1490,11 +1490,11 @@ function convertStringRefToCallbackRef(
1490
1490
throwError(
1491
1491
"Element ref was specified as a string ("+
1492
1492
stringRef+
1493
-
") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information."
1493
+
") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://react.dev/link/refs-must-have-owner for more information."
1494
1494
);
1495
1495
if(1!==returnFiber.tag)
1496
1496
throwError(
1497
-
"Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref"
1497
+
"Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://react.dev/link/strict-mode-string-ref"
1498
1498
);
1499
1499
varinst=returnFiber.stateNode;
1500
1500
if(!inst)
@@ -2291,7 +2291,7 @@ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher,
2291
2291
globalClientIdCounter=0;
2292
2292
functionthrowInvalidHookError(){
2293
2293
throwError(
2294
-
"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."
2294
+
"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
2295
2295
);
2296
2296
}
2297
2297
functionareHookInputsEqual(nextDeps,prevDeps){
@@ -9601,7 +9601,7 @@ var devToolsConfig$jscomp$inline_1056 = {
9601
9601
throwError("TestRenderer does not support findFiberByHostInstance()");
9602
9602
},
9603
9603
bundleType: 0,
9604
-
version: "18.3.0-canary-30ae0baed-20240301",
9604
+
version: "18.3.0-canary-1940cb27b-20240303",
9605
9605
rendererPackageName: "react-test-renderer"
9606
9606
};
9607
9607
varinternals$jscomp$inline_1236={
@@ -9632,7 +9632,7 @@ var internals$jscomp$inline_1236 = {
0 commit comments