MCPcopy Index your code
hub / github.com/Tencent/CodeAnalysis / reload

Function reload

web/packages/shared/hooks/useFetch.ts:91–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89 // 用于刷新请求
90 const [refresh, setRefresh] = useState<boolean>(false);
91 const reload = () => setRefresh(!refresh);
92
93 useDeepEffect(() => {
94 // 组件销毁时 abort 数据

Callers 13

UsersFunction · 0.85
ToolsFunction · 0.85
afterCancelJobFunction · 0.85
handleDeleteOrgFunction · 0.85
onConfirmFunction · 0.85
handleDeleteTeamFunction · 0.85
onConfirmFunction · 0.85
NodeTableFunction · 0.85
TagTableFunction · 0.85
ReposFunction · 0.85
ToolLibsFunction · 0.85
NodeTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected