Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/performance/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs React JS-API的加载时间更长_Reactjs_Performance_Google Chrome Devtools_Lighthouse - Fatal编程技术网

Reactjs React JS-API的加载时间更长

Reactjs React JS-API的加载时间更长,reactjs,performance,google-chrome-devtools,lighthouse,Reactjs,Performance,Google Chrome Devtools,Lighthouse,我有一个React应用程序,我看到我的一个特定API需要6.15秒才能加载。我在Chrome浏览器的“时间”下的“网络”选项卡中看到此计时。然而,当我在后端检查API所花费的时间时,它仅为5S。我不知道从哪里增加了额外的延迟 任何人都知道这件事。非常感谢您的帮助

我有一个React应用程序,我看到我的一个特定API需要6.15秒才能加载。我在Chrome浏览器的“时间”下的“网络”选项卡中看到此计时。然而,当我在后端检查API所花费的时间时,它仅为5S。我不知道从哪里增加了额外的延迟

任何人都知道这件事。非常感谢您的帮助