DEV Community

Discussion on: Hono vs. H3 vs. HatTip vs. Elysia - modern server(less) replacements for Express

Collapse
 
redbar0n profile image
Magne Playful Programming • Edited

Hono is likely a better choice for Cloudflare Workers than using Elysia.

Hono is better at supporting multiple runtimes. Elysia is very Bun focused.

I’m also a bit unsure of the Fluent API style Elysia uses… Such a style has been problematic with tree shaking before, since it uses a mega object, but tree shaking down the bundle size might not matter when you’re only using it on the backend anyway (unless you hit the 1MB limit of CF workers too quickly…).

Elysia author’s own words:

Image description