/Knowledge/sources/honojs__hono/llms-full/jsx-renderer-middleware-usage--4d14c6c442f4.md
JSX Renderer Middleware: Usage - hono-docs
JSX Renderer Middleware: Usage Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt usage Summary Content M...
JSX Renderer Middleware: Usage
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#usage
Summary
jsx const app = new Hono() app.get( '/page/*', jsxRenderer(({ children }) => { return ( Menu {children} ) }) ) app.get('/page/about', (c) => { return c.render( About me! ) })
Content
const app = new Hono()
app.get(
'/page/*',
jsxRenderer(({ children }) => {
return (
<html>
<body>
<header>Menu</header>
<div>{children}</div>
</body>
</html>
)
})
)
app.get('/page/about', (c) => {
return c.render(<h1>About me!</h1>)
})
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#usage",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / JSX Renderer Middleware > Usage",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 236,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "JSX Renderer Middleware: Usage",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}