Skip to content

useLocation parent base url #480

Answered by molefrog
jamalsoueidan asked this question in Q&A
Discussion options

You must be logged in to vote

I'm trying to do this setLocation('../'), not working..I need to get out of the closest base, if i use setLocation("/") it goes back to the parent base url, which is great, but how to get out of that to the parent base url?

Well, this is currently not supported and it will be quite tricky to implement in current architecture since we don't link current router with its parent.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jamalsoueidan
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