React breadcrumb navigation, how to route incoming metadata

I wonder if metadata can be passed in react like vue-router

{path:"/", name: "Home", component: Home, meta: {title:" homepage"}

so I can display title somewhere on the page

but how can react router define its own metadata or meta-attributes for his routes

I pass custom properties to the < Route > component, but in a global component, the @ withRouter decorator cannot get

I don"t know what can be done to solve this problem

Jun.04,2021

< Route path='/' component= {< Home meta= {/ *. * / >} / >

Menu