This is my button
<Button onClick={this.clickMe.bind(this, data)} className="ViewDetailsBtnLink">View Details</Button>
And this is the function clickMe
clickMe(data){
console.log(data);
}
Right now, all it does is display the data in the console. I wish to transfer the data to another page as well as redirect to the ViewDetails page which displays the data. Any help is appreciated.