Obtenha o valor selecionado no componentDidmount Reactjs
let student = studentData.find(data => data.roll === 5);
console.log(student); //Output: {"roll":5,"name":"Sagor","student_type":"normal"}
Condemned Cormorant