Dynamic breadcrumbs, fetched from API
I am struggling on how-to implement dynamic breadcrumbs, which we did with React router, where for instancewe go to Edit product page we would like to display the product name which we only know when we have retrieved the data. I have implemented breadcrumbs using context and setting breadcrumbs from loader, but how can (if possible?) I achieve this from fetched data? Any tips is greatly appreciated.