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
The output in the console should include a trailing slash for each match pathname. This is useful for consistency in resolving URLs, especially in conjunction with the NavLink.end property: https://reactrouter.com/en/main/components/nav-link#end
Actual Behavior
The following will be printed in the console:
/parent
/parent/child/
The text was updated successfully, but these errors were encountered:
What version of React Router are you using?
6.11.0
Steps to Reproduce
Create a router with parent and child routes. Each route has a trailing slash in the path.
The example below removes some required fields for brevity.
Router.jsx
Breadcrumbs.jsx
Expected Behavior
The output in the console should include a trailing slash for each match pathname. This is useful for consistency in resolving URLs, especially in conjunction with the
NavLink.end
property: https://reactrouter.com/en/main/components/nav-link#endActual Behavior
The following will be printed in the console:
The text was updated successfully, but these errors were encountered: