Reflections on Migrating My SaaS to SvelteKit
sveltekitsaas.com
Reflections on Migrating My SaaS to SvelteKit
1–10 of 46 posts
Re: Reflections on Migrating My SaaS to SvelteKit
#2Re: Reflections on Migrating My SaaS to SvelteKit
#3Re: Reflections on Migrating My SaaS to SvelteKit
#4Surely, this issue can not hand waved away by the entire team of two major web frameworks, while they are currently trying to establish directory based routing as a new paradigm?
Re: Reflections on Migrating My SaaS to SvelteKit
#5Re: Reflections on Migrating My SaaS to SvelteKit
#6:help setting-tabline
Low-level stuff; consolidating with some kind of project root directory concept and patterns would be convenient for such cases.
Re: Reflections on Migrating My SaaS to SvelteKit
#7SvelteKit is awesome - I wished there were a nice Docusaurus alternative in it. I checked out KitDocs and Sveltepress but both seem like small personal projects that can at anytime stop being maintained.
Re: Reflections on Migrating My SaaS to SvelteKit
#8how does it compare with react?
Re: Reflections on Migrating My SaaS to SvelteKit
#9They should really be using the existing syntax to have a context="server" portion instead of splitting the file out.
Heck, it could even just be an import for a server.ts file in the same root directory if people really liked the +whatever style of having the server code separated.
It feels especially redundant when you're building a static app or SPA. The sort of overly opinionated nonsense that put me off React and on to Svelte in the first place.
I've decided against making the switch to SvelteKit and instead rely on good old Svelte because I can have a /pages/Whatever.svelte encapsulates the structure and core logic of each view/page. It's clean, it's HTML-like, it works and more importantly, I can immediately wrap my head around it when coming back to the project after a period away.
I deeply love the guy, but I really think Rich should walk back this decision and default to the "whats the cleanest pattern that people can easily wrap their head around" approach.
Re: Reflections on Migrating My SaaS to SvelteKit
#10SvelteKit is a very complete and well designed solution. Routing, data loading, forms, SSR, caching, dealing with environment variables - all very nice. The only "drawback" is Svelte - I just don't like the data binding thing and prefer working with React components and hooks. Maybe that's just because I've spent so much time in React/Next. Well written React code is actually quite easy to debug, reason about and deb…
Svelte's pattern for data binding (with the exception of the $: reactivity) is exceptionally idiomatic and as close to standard web as 2-way reactivity will ever be. Easy to get to grips with as a newbie and a breath of fresh air for someone with years of fe experience under their belt.
Svelte embodies the KISS principle and long may that last.