how to make an Angular.js app offline with server sync when available

后端 未结 3 1564
小蘑菇
小蘑菇 2021-01-30 17:31

I\'m looking for an approach or a library that handles this. the idea is to store data in localstorage and sync to the backend when a connection is available, http://pouchdb.com

3条回答
  •  情书的邮戳
    2021-01-30 18:00

    breezejs is not a sync solution! if server data changes what happen in local data if some recordes deleted on server after last update local data must sync after a method called sync in other word some date must come back to client after calling savechange that tell client db to be sync with server

提交回复
热议问题