Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuarkGluonPlasma/react-course-code
/ load
Function
load
suspense-error-boundary/src/App6.tsx:18–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
17
18
async function load() {
19
setLoading(true);
20
const data = await fetchData();
21
setData(data);
22
setLoading(false);
23
}
24
25
useEffect(() => {
26
load();
Callers
1
App
Function · 0.85
Calls
1
fetchData
Function · 0.70
Tested by
no test coverage detected