meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

955: SvelteKit has solved data loading

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, News, Technology

4.91.2K Ratings

🗓️ 17 November 2025

⏱️ 36 minutes

🧾️ Download transcript

Summary

Scott and Wes break down SvelteKit’s new remote functions and why they finally solve the long-standing pain of page-level data in Svelte. They cover queries, forms, batching, caching, and all the clever RPC ergonomics that make Svelte’s approach feel surprisingly powerful and refreshingly simple. Show Notes 00:00 Welcome to Syntax! 00:45 Lots of RPC library options. 01:22 Svelte’s Page-Level Data Always Felt Off 02:12 Progress on the new Syntax site. 03:47 Remote functions explained. Svelte Remote Functions Docs. 04:15 Make a .remote.ts file. 05:07 Querying data. 07:52 Brought to you by Sentry.io. 08:17 Svelte’s leg up on React. 10:13 Query Arguments. 11:39 The benefits of Standard Schema. 13:13 Refreshing Queries. 13:29 query.batch 15:18 Form function. 21:13 Enhance. 22:31 Refresh. 23:16 Command query. 24:25 Prerender. 25:22 Caching. 27:44 My Local Cache Service Worker. 31:23 Sick Picks + Shameless Plugs. Sick Picks Scott: CoffeeSock ColdBrew Filter, Chemex Filter. Wes: Bosch Dishwasher. Shameless Plugs Scott: Syntax on YouTube Hit us up on Socials! Syntax: X Instagram Tiktok LinkedIn Threads Wes: X Instagram Tiktok LinkedIn Threads Scott: X Instagram Tiktok LinkedIn Threads Randy: X Instagram YouTube Threads

Transcript

Click on a timestamp to play from that location

0:00.0

Welcome to syntax. Today we're talking about remote functions and RPC in Svelte.

0:07.0

I'm going to say, off the bat, this is the solution for RPC, for data loading, for anything.

0:14.0

I don't want to use anything else on any other platform, and we're going to show you why.

0:19.0

If I'm using React, it better look like this. So we're

0:22.6

going to be breaking down what these things are, just the general approach for data loading,

0:28.6

how it kind of takes the server client side of it all and makes it really nice and palatable

0:35.3

while keeping a nice separation still.

0:38.1

My name is Scott Tolensky.

0:39.3

I'm a developer from Denver.

0:40.8

And with me, as always, is Wes Boss.

0:42.3

What's up, Wes?

0:43.2

Hey, excited to talk about this, because I dove into several of these, like, RPC libraries in the last a couple of weeks, you know?

0:52.0

And it turns out BetterO Off has one called Better Call.

0:55.8

Hano has one. Eliza has one. Cloudflare has one that's called Cap Cap'n Webb or something

1:03.3

like that. It's Cap'n Crunch. And like there are a lot of the, like this idea of like, obviously

1:09.7

we talked about TRPC. We had them on the

1:12.8

podcast as well in the past, but there's so many different implementations of this RPC, and I'm

1:19.6

excited to see what Svelts take on it is. Yeah, this is something that I think we've both

1:24.7

personally felt. The syntax site is built with Svelk kit. It uses the load functions for data. And I think we've both personally felt the syntax site is built with svelk kit it uses the

1:29.2

load functions for data and I think one of the things that always felt odd about that was like

1:34.6

all of your data all of your you're refreshing your invalidation even your form actions they all

1:43.0

kind of live at that root of the route level, like on any

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.