Russell Harrower 🎙️ on Nostr: The hard part using Hono + Deno, is remembering to forget everything you learnt with ...
The hard part using Hono + Deno, is remembering to forget everything you learnt with ExpressJS.
While they have very similar ways of doing this, with DB connections you have to get the .get function in Hono where in ExpressJS we could just attach it to the req function.
#hono #Deno #expressjs
Published at
2024-06-29 02:41:14Event JSON
{
"id": "34f5b4a60f854202553edebce8358c0b947cb5f673ddee4f6d4a79032abd8627",
"pubkey": "660a160ebb99ee67a97fd0128a2744ae9de3e758ef6a7deb8abd889e5d844631",
"created_at": 1719628874,
"kind": 1,
"tags": [
[
"t",
"deno"
],
[
"t",
"hono"
],
[
"t",
"expressjs"
],
[
"proxy",
"https://podcastindex.social/@russell/112697597910974341",
"web"
],
[
"proxy",
"https://podcastindex.social/users/russell/statuses/112697597910974341",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://podcastindex.social/users/russell/statuses/112697597910974341",
"pink.momostr"
],
[
"expiration",
"1722220889"
]
],
"content": "The hard part using Hono + Deno, is remembering to forget everything you learnt with ExpressJS.\n\nWhile they have very similar ways of doing this, with DB connections you have to get the .get function in Hono where in ExpressJS we could just attach it to the req function.\n\n#hono #Deno #expressjs",
"sig": "5b7631d83f5e907b2c999dc3e0ba9428f5b9ed185ed28a10bf48a8720bf6d3a14757c9864cef825e393ea7d0fc1d48f585ae18de5e4f86e0f4555d17f80aa519"
}