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 text was updated successfully, but these errors were encountered:
ismail-codar
changed the title
Route names must be unique error! But it is different leaf.
Route names must be unique error! But different leaf nodes.
Dec 8, 2016
That's right, route names must be unique so you could refer to the specific route, eg router.transitionTo('messages') needs to unambiguously transition to the right route.
In your example you could rename the inner messages to
Following example raises: Error: Invariant Violation: Route names must be unique, but route "messages" is declared multiple times
But routes are can be like /messages and /profile/username/messages
The text was updated successfully, but these errors were encountered: