Server Function #10419
Unanswered
Maurycy-Krzeminski
asked this question in
Q&A
Server Function
#10419
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In Qwik City and Solid Start there is server$(). Is there something simmillar in SvelteKit.
I would like to create a component that is a form and already has server function/form action prepared for it.
As far as i saw there are FormActions but I didn't find a way to use them directly in component.
There is also api route, but as far as I understand there is no typesafety between my component and using fetch("/api/my-func")?
Unless i'm wrong and didn't find sth in documentation?
Any ideas how i could do it?
Beta Was this translation helpful? Give feedback.
All reactions