Hello folks and @tonsky, I've made a PR for datascript that includes CLJDart compatibility, all the thanks to Roam Research / @baptiste-from-paris / @cgrand / @brownjoshua490 ++
Really neat. Do you mind sharing what syncing process you're using between the mobile app and the cloud/desktop clients?
I am not using it for now.
You can keep a transaction log + snapshots to sync between clients but I wouldn't really recommend it for any large amount of data, especially on mobile.
yeah, I would say that you should get some form of topic / subscription on the transactions and a state that can be evolved over time throughout the transactions and make the delta T between message delivery low between those (?)
If I were to do it over again I would port the new storage engine Nikita wrote in clojure to cljd. The memory pressure on phones is too much for datascript unless you have a small database
It could be a pain though because you have to make it async. I ported it to clojurescript but never ended up using because it's been too hard to migrate
datahike has a lot of exciting work happening in this space
most part of the job was only merging the code
tell me if there's anything more needed on Datascript ++
😄