datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
2021-04-04T18:31:45.063100Z

In order for #datahike to get durability for ClojureScript in the browser, they had to make the query logic/api asynchronous, so that would be another way to go (that doesn't involve dedicated threads)