Zapisz dane w Props.histroy.push w komponencie React
history.push({pathname:"/yourroute",state: {_id: "0001", name: "AZ"}})
HK~
history.push({pathname:"/yourroute",state: {_id: "0001", name: "AZ"}})
import React from 'react';
const YourRoute = props=> {
const { _id, name } = (props.location && props.location.state) || {};
//_id and name will contain the passed data
.
.
.
}