Replies: 2 comments
-
You'll be pleased to know Simon (dummdidumm) is working on a SvelteKit API that adopts an approach inspired by Telefunc. This was announced at the recent Svelte Summit. If you really want, you can check out the last talk by Rich using https://www.sveltesummit.com/virtual-ticket for an early preview, but I think you could also wait until it's announced on GitHub or the PR is created. |
Beta Was this translation helpful? Give feedback.
0 replies
-
amazeballs - can't wait. actually $40 ... maybe a i can just a little ;-) --- but that's fab. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently came across Telefunc [https://github.com/brillout/telefunc]
It is a very neat API and it does have sveltekit support => https://github.com/brillout/telefunc/tree/main/examples/svelte-kit
With this approach we can create much simpler backend calls - no need to design apis etc - just call functions directly on the server (safe of course) - meaning we can largely do away with all the +server.js and +page.server.js functions.
Even though of course it does have sveltekit support, it would be super cool if Sveltekit did something like this natively.
Thoughts ?
Beta Was this translation helpful? Give feedback.
All reactions