16 Dec 2024
24m

861: Local Data: Sqlite, LocalStorage, Session, Cookies and IndexDB

Podcast cover

Syntax - Tasty Web Development Treats

In this episode of Hasty Treat from Syntax, the hosts dive into the world of local data storage in web applications. They discuss why local storage is useful, covering aspects such as user preferences, offline capabilities, and privacy. The conversation also delves into various storage options, including cookies, LocalStorage, SessionStorage, and IndexedDB, as well as newer technologies that allow databases like SQLite and Postgres to run directly in the browser using Wasm. Additionally, they explore how to sync local data with a server, emphasizing the advantages of client-side rendering and strategies like using patch messages to reduce data transfer. Throughout the episode, they highlight several libraries and platforms that simplify managing local data, including Dexie.js, BYOJS storage, TinyBase, ZeroSync, and InstantDB.

Outlines

Sign in to continue reading, translating and more.

Continue
 
mindmap screenshot
Preview
preview episode cover
How to Get Rich: Every EpisodeNaval