react-test-renderer 0.0.0-experimental-e12a9dfc9-20220120 → 0.0.0-experimental-2ed58eb88-20220126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -913,10 +913,17 @@ function injectInternals(internals) {
|
|
|
913
913
|
}
|
|
914
914
|
|
|
915
915
|
try {
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
916
|
+
if (enableSchedulingProfiler) {
|
|
917
|
+
// Conditionally inject these hooks only if Timeline profiler is supported by this build.
|
|
918
|
+
// This gives DevTools a way to feature detect that isn't tied to version number
|
|
919
|
+
// (since profiling and timeline are controlled by different feature flags).
|
|
920
|
+
internals = _assign({}, internals, {
|
|
921
|
+
getLaneLabelMap: getLaneLabelMap,
|
|
922
|
+
injectProfilingHooks: injectProfilingHooks
|
|
923
|
+
});
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
rendererID = hook.inject(internals); // We have successfully injected, so now it is safe to set up hooks.
|
|
920
927
|
|
|
921
928
|
injectedHook = hook;
|
|
922
929
|
} catch (err) {
|
|
@@ -17798,7 +17805,7 @@ function createFiberRoot(containerInfo, tag, hydrate, hydrationCallbacks, isStri
|
|
|
17798
17805
|
return root;
|
|
17799
17806
|
}
|
|
17800
17807
|
|
|
17801
|
-
var ReactVersion = '18.0.0-rc.0-experimental-
|
|
17808
|
+
var ReactVersion = '18.0.0-rc.0-experimental-2ed58eb88-20220126';
|
|
17802
17809
|
|
|
17803
17810
|
var didWarnAboutNestedUpdates;
|
|
17804
17811
|
|