▲ | nikodotio 3 days ago | |||||||
There’s a whole world of syncing databases when they’re offline and then reconnect. Local first. If your websocket connection is offline you have to store the incremental changes to your data and send them later on reconnect. This gets complex fast. A lot of these tools (and what the author wrote) offer toolkits to do this well, not having to implement and track all these changes in state manually. In this case the author is running SQLite in the browser, and that syncs to SQLite on the server. | ||||||||
▲ | aatd86 3 days ago | parent [-] | |||||||
oh ok. What does it require? CRDTs? | ||||||||
|