Skip to content

Keep alive routes #71

Closed Answered by mateothegreat
fedebram asked this question in Q&A
Discussion options

You must be logged in to vote

My bad, just now saw this post! 😔

So yea, interesting need heh..

By state, do you mean variable values? or, the dom itself & et al?

I'd imagine localStorage would be handy enough but then you'd have to roll the hydration & such.

I'm not too sure that a router should be in charge of that to be honest.
But maybe we could share a prop with a key/id to identify the state object in localStorage?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mateothegreat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants