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

Recall stored state to show an accurate initial skeleton #10

Open
kumar303 opened this issue Sep 6, 2020 · 0 comments
Open

Recall stored state to show an accurate initial skeleton #10

kumar303 opened this issue Sep 6, 2020 · 0 comments

Comments

@kumar303
Copy link
Owner

kumar303 commented Sep 6, 2020

When displaying a skeleton for the very first time, there is no way to guess what the layout state will be (click See initial state in this example).

However, the first load of a repeat visit could use something like local storage to recall the last layout state and render an accurate skeleton.

This ticket is about adding support for showing skeletons based on stored data.

Privacy: let's consider the risk of storing a page layout in a potentially insecure way. Maybe this just means adding a warning to the docs.

@kumar303 kumar303 changed the title Show an initial skeleton based on stored data (like local storage) Recall stored state to show an accurate initial skeleton Sep 6, 2020
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

1 participant