I am struggling to understand to design the routing here. For example -
array.map((each)=>(
<Link to="details/${each.id}"> <Card props={each}/> </Link>
))
by clicking on these cards, the skeleton of detailed page will open but how am i going to pass some data related to the card to the new page? I want to send some api data to new page related to each card or pass some information to call api related to that card after switching to that new component page.