datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
2020-01-15T00:10:23.007600Z

I looked at that for a project, but it was difficult to see how it would interact with other tooling, unfortunately

Filipe Silva 2020-01-15T13:33:11.007700Z

heya!

Filipe Silva 2020-01-15T13:33:22.007900Z

I did put it on accouncements, or news and articles

Filipe Silva 2020-01-15T13:33:23.008100Z

one of them

Filipe Silva 2020-01-15T13:33:50.008300Z

well both of them, but since cross posting between them is not allowed, the other one got taken down

Filipe Silva 2020-01-15T13:34:36.008500Z

I kept the transact on this lib because the loop needed to be firestore as the canonical source

Filipe Silva 2020-01-15T13:34:52.008700Z

stuff might happen before it hits firestore, for instance

Filipe Silva 2020-01-15T13:35:05.008900Z

the local datascript database is always restored from the remote

Filipe Silva 2020-01-15T13:35:49.009100Z

if two people open it in different devices, they will both see the dame database

Filipe Silva 2020-01-15T13:37:17.009300Z

they will also see each others writes

Filipe Silva 2020-01-15T13:39:56.009500Z

all of that works offline too, if you enable firestore's persistence