Can't go to the parent of parent route directly using navigate('/') i.e. from "/some/nestedpath" to "/"
inferno-umar opened this issue · 2 comments
inferno-umar commented
inferno-umar commented
Currently this worked for me
#52
But is it possible what I was doing at first ?
mefechoel commented
I'd need some more context to help you, but if I understand it correctly, you want to go to some url thats outside of the current route. If for example you're inside a Route
with path="/some/path"
and you want to go to /
, you can do navigate("../..")
. See the Link
documentation for an example.