Any way to get last location from the history stack? #305
-
As the title says I'm trying to figure out if there's any way to see what the last location was. Or if that's not possible, if there's a way to pass some data that's not included in the URL included based on which link to the view is used. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Not yet. But there will be in the future. |
Beta Was this translation helpful? Give feedback.
-
Hey. Is there an update to this request? Known timeline? |
Beta Was this translation helpful? Give feedback.
-
I don't think this is the responsibility of routing, or that this requirement is actually dispensable. You can use some useHistoryContext hooks like this to handle it. He is not complicated |
Beta Was this translation helpful? Give feedback.
Not yet. But there will be in the future.