localfirst.fm

#3 – Geoffrey Litt: Malleable software, local state management & Riffle

45 snips
Feb 14, 2024
Guest Geoffrey Litt discusses malleable software and how relational databases can improve web apps and data ownership. They explore unifying UI states and app data, the concept of Riffle, trade-offs of using SQLite in TypeScript, schema management challenges, and introduce LiveStore as a solution.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Data Ownership and Development Difficulty

  • Data ownership is hindered by the difficulty of building apps that support it, not solely by companies' desires.
  • Local-first architecture could simplify app development, leading to more apps that offer data ownership by default.
INSIGHT

Full-Stack Reactivity

  • Apps should be built with full-stack reactivity, like a spreadsheet, where data updates instantly propagate through the UI.
  • This eliminates staleness and caching worries, providing a simpler mental model for developers.
ADVICE

Unified State Management

  • Store all application state in one unified system, even if it's not treated the same.
  • This makes it easy to change state persistence or sharing properties without major re-architecting.
Get the Snipd Podcast app to discover more snips from this episode
Get the app