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
refactor[react-devtools-shared]: minor parsing improvements and modifications (#27661)
Had these stashed for some time, it includes:
- Some refactoring to remove unnecessary `FlowFixMe`s and type castings
via `any`.
- Optimized version of parsing component names. We encode string names
to utf8 and then pass it serialized from backend to frontend in a single
array of numbers. Previously we would call `slice` to get the
corresponding encoded string as a subarray and then parse each
character. New implementation skips `slice` step and just receives
`left` and `right` ranges for the string to parse.
- Early `break` instead of `continue` when Store receives unexpected
operation, like removing an element from the Store, which is not
registered yet.
DiffTrain build for commit c897260.
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24901,7 +24901,7 @@ function createFiberRoot(
24901
24901
return root;
24902
24902
}
24903
24903
24904
-
var ReactVersion = "18.3.0-canary-ce2bc58a9-20231102";
24904
+
var ReactVersion = "18.3.0-canary-c897260cf-20231107";
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9039,7 +9039,7 @@ var devToolsConfig$jscomp$inline_1033 = {
9039
9039
throwError("TestRenderer does not support findFiberByHostInstance()");
9040
9040
},
9041
9041
bundleType: 0,
9042
-
version: "18.3.0-canary-ce2bc58a9-20231102",
9042
+
version: "18.3.0-canary-c897260cf-20231107",
9043
9043
rendererPackageName: "react-test-renderer"
9044
9044
};
9045
9045
varinternals$jscomp$inline_1226={
@@ -9070,7 +9070,7 @@ var internals$jscomp$inline_1226 = {
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9465,7 +9465,7 @@ var devToolsConfig$jscomp$inline_1075 = {
9465
9465
throwError("TestRenderer does not support findFiberByHostInstance()");
9466
9466
},
9467
9467
bundleType: 0,
9468
-
version: "18.3.0-canary-ce2bc58a9-20231102",
9468
+
version: "18.3.0-canary-c897260cf-20231107",
9469
9469
rendererPackageName: "react-test-renderer"
9470
9470
};
9471
9471
varinternals$jscomp$inline_1267={
@@ -9496,7 +9496,7 @@ var internals$jscomp$inline_1267 = {
0 commit comments