I tried a few breadcrumb approaches and they seem useless out of the box since most of my routes do not include enough information.
for example:
/products
/product:id
/subproudcts:productId
/subproductdetail:subproductId
each of these paths is a deeper dive into the catalog. SubProduct:500 is a child of Product:27 etc.
I would like breadcrumbs to look like this:
My Product A > SubProducts > Sub Product Detail B
by default, above paths do not contain enough information for breadcrumb component to magically figure this out.
One solution i was thinking is making routes longer like this:
/products/detail:id/subproducts
/products/detail:id/subproducts/detail:id
not sure if this is what breadcrumbs components are looking for if it's the "right" way to go.
my question is: what's a good solution to having a nice custom breadcrumb that can 1. show all paths including link to sub lists, and 2. show names of each selected parent.