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

Make app state persistent between reloads #6

Open
pitkes22 opened this issue Feb 18, 2021 · 1 comment
Open

Make app state persistent between reloads #6

pitkes22 opened this issue Feb 18, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@pitkes22
Copy link
Owner

When a user returns to the page, the app should remember the state and should let the user continue the work.

Options, Channels structure, and image URL (if used to load an image) should be persisted in localStorage.

Caching of the uploaded image may be difficult due to the size limitation of the localStorage. One of the solutions I am thinking of is to use ServiceWorker for that but it needs research if this could be really done.

@pitkes22 pitkes22 added enhancement New feature or request help wanted Extra attention is needed labels Feb 18, 2021
@BerndSchmecka
Copy link

In #11, I added Options and image URL (not channel structure yet) to localStorage. Since I'm more a Vue.js than a React guy, I'm not sure if my code is 100% efficient, but from my testing it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants