Re:Sqlite3 WebAssembly
by gavmor on Tuesday October 15, 2024 @09:41PM
(#41854825)
SQL is, arguably, more ergonomic than IndexedDB APIs, and may take up less RAM/CPU when, eg, using a `WHERE` clause rather than an `if() ` filter.
[ Parent
| on HN ]
Re:Sqlite3 WebAssembly
by chrysoprace on Wednesday October 16, 2024 @02:06AM
(#41856054)
It's definitely more ergonomic, but the browser doesn't have an SQL API where as it does have IndexedDB. I'm hoping for tooling that makes IndexedDB more ergonomic while having a local-first syncing solution.
Dexie gives an ORM-like experience but their syncing solution is not FOSS.