How I could access ancestor routing params. Simple use case
Two routes
//parent
/image/:id
//child
/full
Child route display modal (contained in parent component)
{ path: "/image/:id/...", component: ImageFull, as: "ImageFull" },
class ImageComponent ...
{ path: "/image/_", component: Empty, as: "_" }, // <- also I prefer get rid of this one
{ path: "/image/Full", component: Empty, as: "Full" } // <- here I need parent route id
class ImageFullComponent ...
Hi
How I could access ancestor routing params. Simple use case Two routes
Child route display modal (contained in parent component)
Any ideas how ?