datascript 2023-02-13

How does one keep a sync-ed persistent database with datascript? Something like transit doesn't sync automatically after you make changes in memory I presume? I just want the diffs to go to a file on every change.