Join Slack
Powered by
Is there a WASM API that one can use to replace Da...
# webassembly
e
Emre
07/02/2023, 5:12 AM
Is there a WASM API that one can use to replace DataStore to persist key-value pairs?
b
bashor
07/03/2023, 12:02 PM
I don’t know about multiplatform solutions, but inside browsers you can use
Web Storage API
(localStorage, sessionStorage) or
IndexedDB API
bashor
07/03/2023, 1:33 PM
If you are looking for multiplatform solution, it would be better to ask in
#compose-web
or
#compose
channels
t
Thomas Nattestad
07/13/2023, 12:59 PM
You may also be interested in SQLite on wasm as a multiplat solution:
https://developer.chrome.com/blog/sqlite-wasm-in-the-browser-backed-by-the-origin-private-file-system/
e
Emre
07/27/2023, 5:26 AM
Thanks! The best option today seems to be
https://github.com/JuulLabs/indexeddb
285
Views
Open in Slack
Previous
Next