9 ms·
All data are local; this allows you to use sql.js in the browser with persistence. Unless the developer adds synchronisation primitive to sync data between mul
by IMTDb 3y ago
All data are local; this allows you to use sql.js in the browser with persistence.
Unless the developer adds synchronisation primitive to sync data between multiple clients all data are local.
- bbor 3y agoSynchronization in this space being covered under the term “Local First” Web Applications, if anyone wants to look into it more. Almost all the frameworks I saw in that space have access controls built in - both between clients and for privileged server-only data. I agree with the other commenter though that by putting a DB on the client, you’re implicitly trusting that client more than usual to only make acceptable changes to the DB. If you’re working in a sensitive context, I think Local First means you’ll have to spend some extra time planning out data security
- dariosalvi78 3y agowhich is a big limitation given that Safari will destroy all the data after one week of no usage. The idea is great, but these limitations make it basically useless on all iPhones.