Using Hono with SvelteKit - Full type-safety with RPC #10328
Replies: 1 comment 4 replies
-
Thanks @brunoti for sharing your work on this stack as I've been looking into type-safe Hono backend. May I ask what do you think it's the extra benefit using Hono as backend with SvelteKit this way? As I understand, you can also get full-type-safety using SvelteKit's backend with zod validations. I was under the impression that the main reason to Hono as standalone backend is the edge serverless integration with Cloud providers and lightweight framework as a whole. But SvelteKit's backend api functions can also be deployed by some serverless cloud provider as edge functions, e.g. Cloudflare or vercel. So I was wondering what's the extra benefit injecting Hono layer in SvelteKit project as backend. Thank you so much. |
Beta Was this translation helpful? Give feedback.
-
Hi guys! I wrote a post about using Hono with SvelteKit! Accepting feedbacks!
dev.to/bop/using-hono-with-sveltekit-full-type-safety-with-rpc-2h7
Beta Was this translation helpful? Give feedback.
All reactions