Skip to content

Use localStorage to remember the user's last viewed module #5

Description

@pkgw

If someone is reading the book and closes their browser window, it would be nice to return them to the module they were just viewing the next time they navigate to the book. We could do this using the browser's "local storage" capability.

This could be taken a lot farther: we could save "favorite" pages, search terms, and more. But the most recently viewed page seems like the simplest place to start.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions