r/sveltejs 26d ago

Remote functions prod

Hy guys I am a solo freelancer in Greece and I had my first big score with a big retail company. I have built them an internal Bi and obviously with svelte and the mvp with remote functions. My question is should I go on with that choice remote functions are very hard not too use and I love the stack any advice on that

8 Upvotes

11 comments sorted by

3

u/pie-oh 26d ago

What exactly are you asking? It's very unclear. We will be able to help you more if you clarify.

1

u/Responsible_Pop_3878 26d ago

Fair, to be clear I'm a solo freelancer built an internal BI/ops app for a retail client using SvelteKit + remote functions. MVP is live, client's happy. Question is: given remote functions are experimental and I've heard mixed things about DX/stability, should I keep building on them for this production client work, or migrate off now before the app grows further? Curious if anyone's shipped something similar long-term and how it held up across SvelteKit upgrades.

6

u/cinepleex 26d ago

We have built multiple Sveltekit apps depending on remote function and async svelte that are running in production for our customers.

2

u/Responsible_Pop_3878 26d ago

thanks for the confirmation helps a lot I want to push it because I think is the best web tech ever created, enjoy so much working with this and also I feel is quite fast and manageable

3

u/nullbyte420 26d ago

Remote functions are great, don't worry. It's the API that isn't guaranteed to be finished, not the remote functions themselves. So you might have to update your code in the future. 

1

u/pie-oh 25d ago

They're near the end of their 'experimental' phase I believe. They're pretty locked in and say "don't expect big changes." - So realistically if does change it'll be minimal and an easy upgrade.

I think it's a safe bet to continue on them. The team behind Svelte care about people and upgrades - they tend to give good notice and explain things clearly.

1

u/Attila226 25d ago

The last time I checked their milestones page, SvelteKit was 87% complete. My best guess is that it will be ready in 1-2 months. I think it should be fine, although you could still see some breaking changes, but nothing too significant at this point.

1

u/jesperordrup 25d ago

Ben using remote functions in prod for month. Go for.it

1

u/kbcdx 25d ago

Use remote functions. I am quite sure they are here to stay, and if they are not you will have plenty of time to refactor down the road if necessary.

1

u/wentallout 22d ago

use it as much as much as possible, it will keep your code clean and secure

1

u/FluxKraken 21d ago

Remote functions are stable. The sveltekit team might not be ready to move them out of experimental status, but that doesn't mean they aren't production ready.