MCPcopy Create free account
hub / github.com/QuarkGluonPlasma/react-course-code / fallbackRender

Function fallbackRender

suspense-error-boundary/src/App5.jsx:21–26  ·  view source on GitHub ↗
({ error })

Source from the content-addressed store, hash-verified

19}
20
21const fallbackRender = ({ error }) => {
22 return <div>
23 <p>出错了:</p>
24 <div>{error.message}</div>
25 </div>
26}
27
28export default function App() {
29 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected