I'm exploring the idea of using Svelte along with Deno and Hono for some personal projects. My goal isn't to rush into a job offer; rather, I'm intrigued by Web Standards and eventually transitioning to a more backend-oriented language. I plan to mainly focus on TypeScript and learn enough frontend skills to complete my projects.
I don't want to deal with edge environments, so I'm looking to utilize a physical server that I rent for hosting and deployment, as I find it offers better hands-on learning. I've seen that Hono and similar tools are mostly marketed towards edge computing, which has me questioning if they're the right choice for my needs.
I like that this stack seems straightforward, as it doesn't require a whole bunch of tools, and it's slightly more modern compared to other options. I'm aware that some say it's better to just dive into building without overthinking, but I think this project will need some serious time and effort to get right. So, is choosing this stack a reasonable decision or a mistake?
4 Answers
SvelteKit combined with BetterAuth, Drizzle, and Shadcn-svelte is a great stack for building robust applications. It gives you everything you need to develop efficiently while being user-friendly.
If you're considering different stacks, I think bundling together bun, Hono, SvelteKit, BetterAuth, TailwindCSS, and DaisyUI is interesting! That mix can cater to lots of requirements. I wouldn't go with Supabase for a starter stack though—I've found it tricky to navigate at first. I’m also keeping an eye on PlanetScale's new PostgreSQL plan as it looks promising.
I really appreciate Deno's vision, but if you're new, I might hesitate to recommend it. Compatibility with npm libraries isn't perfect yet. Hono is more approachable and doesn't push edge concepts into your workflow, so it'll work smoothly on a standard server.
For Svelte and SvelteKit, they can complement a separate Node backend perfectly, or even serve a SPA that makes requests to your Hono API. However, keep in mind that the job market has fewer Svelte positions compared to React or Vue.
Deno and Hono create a very straightforward and predictable development experience. Hono's not just for edge environments, it leverages web standards which allows for versatility across different platforms. However, I found that SvelteKit works fine in isolated projects, but there can be hiccups when handling Deno workspaces since the Svelte language server lacks local package support. I’d suggest going for something JSX-based like React or Preact with Deno for a smoother development experience, but if you’re keen, stick with SvelteKit and NodeJS—it’ll make things easier.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically