Syntax - Tasty Web Development Treats

767: Local First and TypeScript’s Missing Library with Johannes Schickling

12 snips
May 10, 2024
Johannes Schickling, the genius behind Prisma and creator of Overtone, dives deep into local-first app development. He discusses the transition from server-reliant architecture to empowering clients through local functionality. The conversation touches on crafting the perfect music app experience, tackling authentication challenges, and running SQLite in browsers. Schickling also introduces Effect, a transformative framework for TypeScript that enhances state management and error handling, pushing the boundaries of JavaScript development.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Start Local-First

  • Design local-first apps from the ground up for optimal results.
  • Retrofitting existing server-authoritative apps for local-first functionality can be challenging.
INSIGHT

Client-Side Authority

  • In local-first apps, the client holds the primary authority, treating the server as a synchronization facilitator.
  • Overtone, as a local-first music app, operates entirely client-side, leveraging the user's existing music platforms.
ANECDOTE

Riffle: Client-Side SQLite

  • Johannes discusses his work with Riffle, a reactive SQLite database designed for client-side web apps.
  • Riffle brings traditional database primitives to the client, enabling better state management.
Get the Snipd Podcast app to discover more snips from this episode
Get the app