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
I'm using the route /first/second/:parameter/third, and I am noticing inconsistent behaviour in the router lifecycle hooks.
When I navigate to the route from /home via a link in the app, the "second" component receives the value of ":parameter", and the "third" component does not.
When I navigate to the route a second time while already on it, this time with a different value for ":parameter", both the "second" and "third" components receive the value of ":parameter".
When I refresh the browser (F5), only the "second" component received the value for ":parameter".
The "third" component should either always receive the parent route parameters, or it should never receive them. I do not know which behaviour is expected, but it should definitely be consistent.
😯 Current Behavior
Inconsistent.
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
I'm using the route /first/second/:parameter/third, and I am noticing inconsistent behaviour in the router lifecycle hooks.
When I navigate to the route from /home via a link in the app, the "second" component receives the value of ":parameter", and the "third" component does not.
When I navigate to the route a second time while already on it, this time with a different value for ":parameter", both the "second" and "third" components receive the value of ":parameter".
When I refresh the browser (F5), only the "second" component received the value for ":parameter".
Repro link https://stackblitz.com/edit/au2-conventions-ms17rt
🤔 Expected Behavior
The "third" component should either always receive the parent route parameters, or it should never receive them. I do not know which behaviour is expected, but it should definitely be consistent.
😯 Current Behavior
Inconsistent.
The text was updated successfully, but these errors were encountered: