5 ms·
Sveltekit is not the same as Rails. It's an evolution. Plus, it's very easy to get any Rails functionality from NPM.
by claudiojulio 2y ago
Sveltekit is not the same as Rails. It's an evolution. Plus, it's very easy to get any Rails functionality from NPM.
- nicce 2y ago> Plus, it's very easy to get any Rails functionality from NPM. Well, that is the issue of modern software development. People download even packages like `is-number` which is in the end few lines of code.
- nop_slide 2y agoIt's not the same at all. I have a SvelteKit + FastAPI app that ironically I'm porting to Rails after rediscovering it. Indeed SvelteKit is basically like NextJS for Svelte. It's just a thin server layer + routing which enables SSR, form submissions, and a few other goodies. You don't get the kitchen sink like with Rails. Just off the top of my head here's things you get with Rails that you don't with SvelteKit - auth (new in Rails 8) - background jobs - email processing - database connections and ORM - caching layer By the way this is coming as someone who is a fan of SvelteKit, it's just not objectively the same nor an evolution of rails at all.
- sureglymop 2y agoOne minor thing I would add is that of very recently, the new svc utility can set up auth, database stuff, i18n and some other things when creating a new svelte kit project. I suggest trying it out, it's pretty cool.