Introducing Rescript-dexie

I’ve published Rescript bindings to Dexie, a terrific wrapper of the IndexedDB API.

It’s still fairly beta and I haven’t covered all the features Dexie packs in
yet, but the basics are working well. It feels intuitive and gives the right
mix of sound type safety and easy call sites. Let me know what you think!

8 Likes

Updated to support Rescript 10.1 and uses async/await syntax.

Fun fact: migrating to async/await was a breeze because I just had to edit files until the compiler stopped complaining.

There is one bug in the transaction aborting that I don’t have time to track down. The unit test for that is currently skipped. Would love a PR to fix it if anyone is interested.

3 Likes