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

Use of LocalStorage #786

Open
2 tasks
mathieuLivebardon opened this issue Jan 11, 2024 · 0 comments
Open
2 tasks

Use of LocalStorage #786

mathieuLivebardon opened this issue Jan 11, 2024 · 0 comments

Comments

@mathieuLivebardon
Copy link
Contributor

Following this #785 (comment).

We are using LocalStorage in some of our packages to save information and reuse it even after a web page reload. However, documentation is lacking to understand how to handle it well.

  • Provide a documentation of how using localStorage in web application
  • When using it gives the possibility of users (examples) or developers (packages) to disable it or clear it
    • I also think we shouldn't use 'window.beforeunload' event to write on localStorage because he avoids us to use the browser console to clear localStorage (localStorage.clear());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant