Re:HonoJS: Small, simple, and ultrafast web framework for th...
by k__ on Wednesday April 17, 2024 @05:50AM
(#40062400)
Nice, thank you!
Re:HonoJS: Small, simple, and ultrafast web framework for th...
by qsq151 on Wednesday April 17, 2024 @06:13AM
(#40062572)
That's very helpful. I'm also using Elysia in several small projects. Considering that the official stable 1.0 release was in March, it might be mature enough for production use.
Both frameworks support route groups, middleware, context, and mounting apps from other frameworks.
Both are WinterCG compliant - deployment to platforms other than your own server or Docker, such as Cloudflare or Vercel Edge, should not be an issue.
Hono appears to be very focused on serverless and edge runtimes like Fastly Compute, Lambda@Edge, Supabase Functions, etc.
Both offer their own RPC implementations:
- Hono: RPC in Hono: https://hono.dev/concepts/stacks#rpc
- Elysia has Eden—its own end-to-end type safety RPC: https://elysiajs.com/eden/overview.html
So, it's a matter of preference, I would say.
I'm personally using ElysiaJS in production and have zero complaints.