The Ease of JSX with the power of SSR The developer experience of asynchronous JSX with the proven benefits of server-side rendering, resulting in a robust and streamlined web development approach. export default async function ({ request, reply }) { const id = request.query["id"]; const { name, ingredients, instructions, image } = await ( await fetch(`https://dummyjson.com/recipes/${id}`) ).json(
Alright, sit tight, as this will be a long article. The work for v6 started with the goal of moving to ESM and improving the IoC container to be simple and have fewer responsibilities. But we have touched almost every part of the framework, smoothing out many rough edges, fixing some long pending issues, and rewriting some packages from scratch. Are you looking to migrate your applications from v5
昨日、Honoのv3.11.0を出しました。 v3.10.0とあわせて導入された代表的な新機能を紹介します。 Asyncコンポーネントサポート Hono組み込みのJSXでAsyncコンポーネントがサポートされました。コンポーネントの中でasync/awaitが使えます。 const AsyncComponent = async () => { const res = await fetch('https://ramen-api.dev/shops/yoshimuraya') const data = await res.json<{ shop: { name: string } }>() return <div>{data.shop.name} 🍜</div> } app.get('/', (c) => { return c.html( <html> <body> <h1>My favo
Build more side projects, ship more productsHyperstack is a modern Node.js web framework for the pragmatic programmer
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く