Finishing up the TypeScript and Mocha porting

I just opened this PR for typing, documenting, and refactoring the Sync class (and a bit of CachingLayer):

It took me a few days to get through this, but it’s looking so much better now! :partying_face:

Most of the types that were still missing are part of this pull request, and the Sync tests have been ported entirely.

I know it’s a lot to ask from a reviewer, but any and all help with getting this merged would be very much appreciated! :pray:

1 Like

This widget PR uses the new “sync-started” event:

And this one makes it feel snappier simply by removing words from the UI:

FYI, the PR now addresses nearly all of the open issues regarding caching and sync (that aren’t about Dropbox or Google Drive). It could really use some more eyes on it now…

During development, I have also considerably improved our main example app My Favorite Drinks (source code), which now allows editing/updating of items, and also demonstrates how to handle conflicts in app code (among other things like e.g. mobile support).

The deployed version uses my PR branch for now, so it can use some of the fixes and improvements already.