mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
[DRAFT] Import scheduling profiler into DevTools Profiler (#21897)
This commit is contained in:
@@ -103,7 +103,14 @@ export function loadHookNames(
|
||||
|
||||
let didTimeout = false;
|
||||
|
||||
loadHookNamesFunction(hooksTree).then(
|
||||
const response = loadHookNamesFunction(hooksTree);
|
||||
console.log(
|
||||
'loadHookNamesFunction:',
|
||||
loadHookNamesFunction,
|
||||
'->',
|
||||
response,
|
||||
);
|
||||
response.then(
|
||||
function onSuccess(hookNames) {
|
||||
if (didTimeout) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user