My approach for creating data while offline
Hi,
I wanted to share my approach to supporting data creation while offline and reliably synchronizing it once a connection is available again.
I build PWAs with Angular and NgRx. In my original implementation, I found that persisting and replaying actions that trigger API requests worked well as an offline queue.
This library is based on that working implementation. I used Codex to help extract the reusable functionality and turn it into an open-source library.
It’s still in alpha, and I’d appreciate feedback on the idea and API.
Interactive demo:
https://poodlelab.github.io/ngrx-offline/
Repository: