You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently exploring the PeriodicSyncManager to support syncing my TinyBase stores with my server in the background.
This requires me to sync within the service worker context. This context does not allow to use localStorage or sessionStorage though. IndexedDB would be supported, but the TinyBase IndexedDB adapter does not support MergeableStore, so I won't able to sync this store. Thus I am kind of stuck here.
It's nothing critical of course, but I'd still be curious whether there are plans to extend the IndexedDbPersister to suppprt MergeableStore.
Cheers and thanks for your work. TinyBase is a pleasure to work with so far 😊
The text was updated successfully, but these errors were encountered:
I am currently exploring the
PeriodicSyncManager
to support syncing my TinyBase stores with my server in the background.This requires me to sync within the service worker context. This context does not allow to use
localStorage
orsessionStorage
though. IndexedDB would be supported, but the TinyBase IndexedDB adapter does not supportMergeableStore
, so I won't able to sync this store. Thus I am kind of stuck here.It's nothing critical of course, but I'd still be curious whether there are plans to extend the
IndexedDbPersister
to suppprtMergeableStore
.Cheers and thanks for your work. TinyBase is a pleasure to work with so far 😊
The text was updated successfully, but these errors were encountered: