/Knowledge/sources/honojs__hono/llms-full/jsx-errorboundary--part-02--feb3fe927857.md
JSX: ErrorBoundary (part 02) - hono-docs
JSX: ErrorBoundary (part 02) Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt errorboundary Summary Con...
JSX: ErrorBoundary (part 02)
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#errorboundary
Summary
tsx async function AsyncComponent() { await new Promise((resolve) => setTimeout(resolve, 2000)) throw new Error('Error') return Hello } app.get('/with-suspense', async (c) => { return c.html( Out of Service }> Loading... }> ) })
Content
async function AsyncComponent() {
await new Promise((resolve) => setTimeout(resolve, 2000))
throw new Error('Error')
return <div>Hello</div>
}
app.get('/with-suspense', async (c) => {
return c.html(
<html>
<body>
<ErrorBoundary fallback={<div>Out of Service</div>}>
<Suspense fallback={<div>Loading...</div>}>
<AsyncComponent />
</Suspense>
</ErrorBoundary>
</body>
</html>
)
})
Metadata
{
"chunk_index": 1,
"citation": "https://hono.dev/llms-full.txt#errorboundary",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / JSX > ErrorBoundary (2)",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 25,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "JSX: ErrorBoundary (part 02)",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}