T
TanStack5mo ago
plain-purple

Clarification on behavior of `to=".."`

Not sure if this is mentioned in the docs, but just realized that for the to link option you can pass ".." , which I'm assuming means "one directory above" (in unix-y terms). Am I understanding that correctly? In this case, does that route get pushed to the history? i.e. similar to navigate({ to: '..' })
2 Replies
afraid-scarlet
afraid-scarlet5mo ago
it will be resolved to the route one level above and that route will be pushed to the history
plain-purple
plain-purpleOP5mo ago
great, thanks!

Did you find this page helpful?