MCPcopy Create free account
hub / github.com/epicweb-dev/react-suspense / App

Function App

exercises/01.fetching/02.solution.errors/index.tsx:8–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6const shipName = 'Dreadyacht'
7
8function App() {
9 return (
10 <div className="app-wrapper">
11 <div className="app">
12 <div className="details">
13 <ErrorBoundary fallback={<ShipError />}>
14 <Suspense fallback={<ShipFallback />}>
15 <ShipDetails />
16 </Suspense>
17 </ErrorBoundary>
18 </div>
19 </div>
20 </div>
21 )
22}
23
24let ship: Ship
25let error: unknown

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected