"route": relative to the route hierarchy so .. means remove all segments of the current route even if it has many. For example, a route("posts/:id") would have both :id and posts removed from the url.
"path": relative to the pathname so .. means remove one segment of the pathname. For example, a route("posts/:id") would have only :id removed from the url.
..
means remove all segments of the current route even if it has many. For example, aroute("posts/:id")
would have both:id
andposts
removed from the url...
means remove one segment of the pathname. For example, aroute("posts/:id")
would have only:id
removed from the url.