Is Svelte, Deno, and Hono a Good Tech Stack for Beginners?
Asked by
+dry brush technique
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?
Answers
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.
Reply to this answer
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.
Reply to this answer
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.
Reply to this answer
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.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions