Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Fantastic news! Although I loathe writing libraries [1] in Svelte, I love writing apps and kit is great extension to server side. I like similar to Remix push for Web APIs, like forms for mutations etc. I like nested layouts with data endpoints. I like that most of the internal state is visible as reactive store.

[1] Creating complex type definitions for more generic components is hard and require knowledge about internals.



>Creating complex type definitions for more generic components is hard and require knowledge about internals.

This is what turned me off of Svelte initially. Usually when I make websites I start by defining some primitive components like <Button> or <TextInput>. I could not figure out how to type my <Button> component so that it takes every single attr and event that a regular <button> takes plus some extra attrs that I want to define (theme, size, etc.) This is trivial in React so I was surprised that it didn't really seem possible in Svelte.


Auto-define exports of native properties for a child widget. This should be posted as an issue on the Svelte core repo. It would save a ton of time building components!

Now that Kit 1.0 is out the door the team can turn their attention back to Svelte proper so now is the time.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: