Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to get data what i added in persisted-data on browser refresh #134

Open
1 of 8 tasks
tlg-tejas opened this issue Sep 26, 2018 · 3 comments
Open
1 of 8 tasks

Comments

@tlg-tejas
Copy link

tlg-tejas commented Sep 26, 2018

Description

When i do browser refresh persisted data is reset

Expected outcome

It should not be reset untill done

Actual outcome

Persisted data is resetting

Live Demo

Steps to reproduce

example - paper-tabs selected value needs to be persisted even after browser refresh

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
@tlg-tejas
Copy link
Author

Can someone help me out with app-indexeddb-mirror polymer component, It always returns me null on page load when i refresh browser

I am using
this.shadowRoot.querySelector('#sportsName').getStoredValue("sportsName").then((response) => {
if (response) {
this.set('previousSelectedSport', response);
} else {
this.set('previousSelectedSport', 0);
}
});

@tlg-tejas
Copy link
Author

I have data in indexed db

image

@derhuebiii
Copy link

+1
Same here, it's not loaded after page refresh. Anything wrong? Session key is the same and I can also see it in Chrome dev tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants