crosshooks

useOfflineSync

Web demo

Queue changes while “offline,” then flip back online and watch them drain in order. The queue is persisted, so it survives a reload.

isOnlinetrue
isSyncingfalse
pending0
errornone