You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way for MyComponent to get the resolved pathname relative to the route where it was configured? e.g. when visiting paths/up/to/abc/hello, the resolved pathname would be paths/up/to/abc/.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In v6, given routes like
Is there a way for
MyComponent
to get the resolved pathname relative to the route where it was configured? e.g. when visitingpaths/up/to/abc/hello
, the resolved pathname would bepaths/up/to/abc/
.Beta Was this translation helpful? Give feedback.
All reactions