How to pass an HTML attribute value to the react component with react-router?
i have a button which contain id attribute and that button is a link to another react component but i want to carry on with the id to the next component. code:
<Link><button id={user._id>next</button></Link> any help