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

Persistance? #1185

Closed
tamis-laan opened this issue Apr 13, 2021 · 5 comments
Closed

Persistance? #1185

tamis-laan opened this issue Apr 13, 2021 · 5 comments

Comments

@tamis-laan
Copy link

Would be nice to have some established way to persist component state! Any recommendations for now?

@christophe-g
Copy link

I am using https://github.com/gitaarik/lit-state, synchronizing with firebase or localStorage

@kevinpschaaf
Copy link
Member

While an interesting feature, this is out of scope for the core Lit library.

@sorvell
Copy link
Member

sorvell commented Jan 15, 2022

Closing based on the previous suggestion. This is out of scope for the core library. You may want to investigate service workers.

@justinfagnani
Copy link
Contributor

The question could be referring to using local storage, or a state management system like Redux. It would be interesting to think of if there's a nice use for reactive controllers to access local storage.

@christophe-g
Copy link

It would be interesting to think of if there's a nice use for reactive controllers to access local storage.

Thought about the same : gitaarik/lit-state#7 (comment)

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

5 participants