Skip to content

Save the user's state in their browser #6

@tylertucker202

Description

@tylertucker202

Query parameters, while nice, aren't as persistent as the local storage. Storing dome, date, FOV, etc all reset when you visit the page from scratch.

Would it be better to save this state in local storage, so that the user can go back to where they left off?

Thoughts:

  • include a reset local storage button
  • Sync local storage and query parameters (or remove query params entirely)
  • init state with information found in local storage, and update local storage when query params/state changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions