Goal: I have a multipage app and I'd like to preserve the state of pages for the user so that if they click to another page and come back, the first page state is not completely reset. How can I do this?
Steps: I think an option would be to put as much as possible inside global variables or localStorage, but that's hard to set up and maintain for many components. Another option would be to move everything to a single page app and simulate a multipage app, but that doesn't sound great either.
Details: In particular I have a table with data loaded in and a custom component that I'd also like to preserve the state for.