5 ms·
SvelteKit isn't Svelte's UI framework. SvelteKit is a full web framework for serving Svelte apps. It's essentially Sapper + Svelte in a more harmonious combinat
by harrisi 4y ago
SvelteKit isn't Svelte's UI framework. SvelteKit is a full web framework for serving Svelte apps. It's essentially Sapper + Svelte in a more harmonious combination.
I have no opinions about any of these libraries and frameworks for business applications.
- miohtama 4y agoSvelteKit is going ot be Django/Ruby on Rails of frontend frameworks. Due to integration and polish, it is so much easier to use than anything I have developed with on Angular, React and even older stacks like jQuery.
- pcthrowaway 4y agoHow is typescript support? I found that a bit lacking when I was using Svelte (and I otherwise love svelte)
- gmassman 4y agoTypescript support in Svelte is one of the biggest problems with the framework I’ve encountered. We have a couple of production Svelte apps at my job and overall the frontend DX is excellent. However, not being able to use generically typed components is a big missing feature. We have a number of custom core components which work really well, but not being able to create a new component with something like MyTable = Table<User> feels like an oversight. Inside of the Table code we work around this shortcoming to appease tslint… Overall though regular .ts code works well. We use it for all our API definitions and networking layer, and it’s been 1000x better than our former version built with jinja/jQuery.
- harrisi 4y agoI may be missing something (I haven't used Svelte, SvelteKit, or TypeScript much), this doesn't seem accurate. I was going to link to a direct example, but I'm not sure I understand exactly what you're looking for. More information here: https://github.com/ivanhofer/sveltekit-typescript-showcase https://github.com/ivanhofer/sveltekit-typescript-showcase
- harrisi 4y agoI added some more information in another reply, but Svelte has officially supported TypeScript for a couple years now. It provides some tooling to get started and there are also existing projects that may make certain things easier or more useful. Announcement (some things have changed, surely): https://svelte.dev/blog/svelte-and-typescript https://svelte.dev/blog/svelte-and-typescript More info in the GitHub repo I linked to elsewhere.
- solumunus 4y ago> SvelteKit is going ot be Django/Ruby on Rails of frontend frameworks. I use it for my production app, so I'm a big supporter, but I don't think this is true. It's an extremely light framework that doesn't offer anywhere close to the feature support of Django or Rails, and as far as I'm aware it doesn't have any intention of doing so. Perhaps I'm mistaken?