Accessing all parents router info from child route for breadcrumb

I have some nested routes, some 3 or more nested. I’d like to build a bread crumb. Currently I’m manually placing a object on each child route that specifies what the parent(s) is/are. Is there any way to find the info from the all the parent routes from within a child route object?

maybe have some tips