New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does RouterContext.push() take an absolute or relative path? #2829
Comments
In general our paths are absolute, not relative. For further questions, try Stack Overflow or Reactiflux. |
in that case i have come across a bug. when in '/A` i do
it takes me to should i open a new case for this or will this one do? |
That is not a bug. We do not support relative paths. You must |
|
Apologies, I was thinking about In general, you should use absolute paths where possible. Using relative paths results in ambiguity. What happens when you are in a nested route structure? What happens when you're not? You're going to end up in two different locations. This will create unexpected behavior and bugs in your apps. |
i am now confused. if relative paths are indeed supported, then
or am i doing something wrong? |
This is not defined at all in the documentation.
If I am in route
/A
and want to get to route/A/B
, do i door
or
If its any of the latter two, how do i know the current 'path' so i can append
/B
to it?The text was updated successfully, but these errors were encountered: