News for hackers. Stuff that matters.
Re:Offline-First Database Comparison by RobertRoberts on Tuesday October 26, 2021 @09:50AM (#29000355)
What is the advantages of using one of these client side databases vs using indexeddb directly?
Re:Offline-First Database Comparison by radex on Tuesday October 26, 2021 @10:16AM (#29000689)
IndexedDB is a joke of a database. Yes, it can store data, and you can create a very simple index, so it's _technically_ a database… But its ability to express queries is borderline useless for all but simplest use cases, it's slow, and it's very inconvenient to use. So solutions exist that range from giving IDB a simpler, more modern API, all the way to using IDB as a dumb storage medium to a fast in-memory database.
Re:Offline-First Database Comparison by typingmonkey on Tuesday October 26, 2021 @10:32AM (#29000909)
Replication, Encryption, Conflict Handling, Multi-Tab-Support, Compression, Observability and many more..