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

State persistence #3

Open
delucis opened this issue Oct 4, 2021 · 0 comments
Open

State persistence #3

delucis opened this issue Oct 4, 2021 · 0 comments

Comments

@delucis
Copy link
Member

delucis commented Oct 4, 2021

The P2PHost currently uses an in-memory storage implementation to hold match state. This means navigating, closing a tab, or just stopping/hiding the client will usually result in that state being lost.

We should use a persistent storage layer (e.g. using localStorage or indexedDB) and offer some options for how long matches should persist for as well as some way to delete matches.

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

No branches or pull requests

1 participant