Получите выбранное значение на ComponentDidMount ReactJS
let student = studentData.find(data => data.roll === 5);
console.log(student); //Output: {"roll":5,"name":"Sagor","student_type":"normal"}
Condemned Cormorant