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

Rethink use of LocalStorage #62

Open
Inwerpsel opened this issue Feb 20, 2024 · 0 comments
Open

Rethink use of LocalStorage #62

Inwerpsel opened this issue Feb 20, 2024 · 0 comments
Labels
history Related to state history (undo/redo and timeline) needs info The issue probably doesn't have enough information/ideas to be actionable at this time

Comments

@Inwerpsel
Copy link
Owner

Inwerpsel commented Feb 20, 2024

Now that history is restored from IndexedDb, it's probably no longer needed to also store it in LocalStorage.

For now it was preserved because it can be read synchronously, so allows populating the latest state before the history is replayed.

Does the combination of IndexedDb + LocalStorage still make sense?

Any other ways of working with state to look at (maybe session storage)?

@Inwerpsel Inwerpsel added the needs info The issue probably doesn't have enough information/ideas to be actionable at this time label Feb 20, 2024
@Inwerpsel Inwerpsel added the history Related to state history (undo/redo and timeline) label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
history Related to state history (undo/redo and timeline) needs info The issue probably doesn't have enough information/ideas to be actionable at this time
Projects
None yet
Development

No branches or pull requests

1 participant