datascript 2024-06-13

@tonsky I'm curious whether you're actively considering adding support for javascript storage. It's mentioned as a possibility in the storage docs. The biggest problem I see is the fact that JS storage is going to be async, and you've mentioned previously you're not interested in an async API. I'm pretty sure an async API would be required, especially if you want to lazily restore the db. I'm happy to work on this on my own (via fork or PR, whichever you think), but I didn't want to start something if you've already got something cooking.

I don’t plan to, not anytime soon. But if you figure out a good and backwards-compatible way to support async storage we can merge it

Any particular concerns you have I need to be thinking about?

Is the program yielding a 2 element clojurescript vector?