pass react router params to url onclick react code example
Example: reactjs pass slug to parameter onclick
return (
<th value={column} onClick={() => this.handleSort(column)}>{column}</th>
);
return (
<th value={column} onClick={() => this.handleSort(column)}>{column}</th>
);