SvelteKit
Reddit take
Not enough linked mention summaries yet; the source excerpts below are the evidence.
Pros
- In a SvelteKit app, the best and safest way is to use a `.env` file and environment variables, not a JSON or JS config file. That’s the standard Node approach and it keeps your database credentials secure and out of the client bundle.
- Fastest to get up and running would be sveltekit. It uses straight TS/JS and the learning curve is very approachable. Makes writing a frontend and backend very simple.
- There are a couple of advantages to using sveltekit over nextjs. Such as arguably sveltekit has the bigger ecosystem, since any library even react ones, can be used.
- Sveltekit is easier to understand. Moreover, the new remote functions + async in Sveltekit is a game changer in terms of performance and dev experience.
- SvelteKit with static adapter does produce (who would have guessed that) static files.
Cons
- I built those sites in SvelteKit and now maintenance is a chore. I forget how everything works, how to compile the code, what extensions I need, what files I need to ignore from git. I dunno, it's all so cumbersome.
Sentiment
10 positive (91%) · 0 mixed (0%) · 1 negative (9%)
Trust + time weighted score: +83% · raw score 82%
What redditors said (10 of 11)
In a SvelteKit app, the best and safest way is to use a `.env` file and environment variables, not a JSON or JS config file. That’s the standard Node approach and it keeps your database credentials secure and out of the client bundle.
Fastest to get up and running would be sveltekit. It uses straight TS/JS and the learning curve is very approachable. Makes writing a frontend and backend very simple.
There are a couple of advantages to using sveltekit over nextjs. Such as arguably sveltekit has the bigger ecosystem, since any library even react ones, can be used.
Sveltekit is easier to understand. Moreover, the new remote functions + async in Sveltekit is a game changer in terms of performance and dev experience.
SvelteKit with static adapter does produce (who would have guessed that) static files.
If you do want to do js choose one of the isomorphic js frameworks like sveltekit, nuxt, etc
I built those sites in SvelteKit and now maintenance is a chore. I forget how everything works, how to compile the code, what extensions I need, what files I need to ignore from git. I dunno, it's all so cumbersome.
Parent context: I'm dumb so excuse my question. Doesn't sveltekit do this out of the box? Reply: yes but thats because sveltekit is a framework. This is a native, simple solution.
Sveltekit is great for individual projects imo
I’m a self-taught developer and so far my go to stack is: FE / BE - Svelte / Sveltekit Deployment and hosting - Vercel Auth and database - Supbase While it’s great and it works, I want to improve my stack to be cheaper and more resilient
Compare
SvelteKit vs DreamFactorySvelteKit vs SvelteSvelteKit vs Supabase
Related
- React · related · 204 mentions
- Visual Studio Code · related · 168 mentions
- Next.js · related · 151 mentions
- Claude Code · related · 137 mentions
- Astro · related · 88 mentions
- Laravel · related · 82 mentions