Syntax - Tasty Web Development Treats

955: SvelteKit has solved data loading


Listen Later

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

          ...more
          View all episodesView all episodes
          Download on the App Store

          Syntax - Tasty Web Development TreatsBy Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

          • 4.9
          • 4.9
          • 4.9
          • 4.9
          • 4.9

          4.9

          977 ratings


          More shows like Syntax - Tasty Web Development Treats

          View all
          Software Engineering Radio by se-radio@computer.org

          Software Engineering Radio

          271 Listeners

          Hanselminutes with Scott Hanselman by Scott Hanselman

          Hanselminutes with Scott Hanselman

          384 Listeners

          The Changelog: Software Development, Open Source by Changelog Media

          The Changelog: Software Development, Open Source

          288 Listeners

          Software Engineering Daily by Software Engineering Daily

          Software Engineering Daily

          624 Listeners

          Talk Python To Me by Michael Kennedy

          Talk Python To Me

          584 Listeners

          Soft Skills Engineering by Jamison Dance and Dave Smith

          Soft Skills Engineering

          288 Listeners

          Thoughtworks Technology Podcast by Thoughtworks

          Thoughtworks Technology Podcast

          43 Listeners

          Python Bytes by Michael Kennedy and Brian Okken

          Python Bytes

          214 Listeners

          The freeCodeCamp Podcast by freeCodeCamp.org

          The freeCodeCamp Podcast

          485 Listeners

          CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

          CoRecursive: Coding Stories

          190 Listeners

          Practical AI by Practical AI LLC

          Practical AI

          209 Listeners

          The Stack Overflow Podcast by The Stack Overflow Podcast

          The Stack Overflow Podcast

          63 Listeners

          The Real Python Podcast by Real Python

          The Real Python Podcast

          143 Listeners

          PodRocket by LogRocket

          PodRocket

          59 Listeners

          Oxide and Friends by Oxide Computer Company

          Oxide and Friends

          63 Listeners