Loving the experimental remote functions in #SvelteKit. I’m actually really impressed with the DX, although the docs need a little attention (but this is wip). svelte.dev/docs/kit/rem...
0 reposts2 likes
Loving the experimental remote functions in #SvelteKit. I’m actually really impressed with the DX, although the docs need a little attention (but this is wip). svelte.dev/docs/kit/rem...
0 reposts2 likes
Adding response type expectations to `form()` along with validation (I’m using @valibot.dev) feels so natural.
Typing the `form()` function itself is a really nice touch, allowing the return expectation to be explicit - this works beautifully with @valibot.dev - but I stumbled across that in the declarations, not the docs.