PolymerElements / app-storage

Data-pipes and specialized services
61 stars 47 forks source link

app-indexeddb-mirror and already persisted store #109

Open eskan opened 7 years ago

eskan commented 7 years ago

Description

Hi, when the app-indexeddb-mirror is initialized, it's not populated with store data if it exists but remains empty, so change to livedata override current store. test is done with Polymer 2.0 and persist storage is requested : navigator.storage.persist()

Expected outcome

app-indexeddb-mirror persistedData should be populate with stored value

Steps to reproduce

this is a sample app to test behavior https://github.com/eskan/indexeddb-mirror-persited-test

Browsers Affected