location.pathname.split('/').map((crumb, idx) => {
if(idx === 0) crumbs[idx] = {path: '/', title: 'Home'}
if(idx === 1) crumbs[idx] = {path: crumb, title: crumb}
if(idx > 1) crumbs[idx] = {path: crumbs[idx-1].title+'/'+crumb, title:crumb}
})
<ol className={styles.breadcrumbsList} key={Math.random()}>
{crumbs.map((crumb, idx) =>
<>
{idx >= 1 && <div> / </div>}
<Crumb path={crumb.path} title={crumb.title} style={styles.crumbs} key={Math.random()} />
</>
)}
</ol>
<React.Fragment key={...}>
{idx >= 1 && <div> / </div>}
<Crumb path={crumb.path} title={crumb.title} style={styles.crumbs} />
</React.Fragment>