6.5.3
The only way I am able to access the data I need inside a table cell is row._original
This works, I am just concerned there may be something I am doing wrong or could have a potential future problem.
{
Header: 'Name',
id: 'name',
accessor: s => s.name,
Cell: props => <a onClick={() => {
this.onStudyClicked(props.row._original)
}
}>{props.value}</a>,
},
Use props.original
Damn I thought that was one of the first things I had tried! Don't think I waited long enough for the compile. Thank you!
const data = React.useMemo(() => _data, []);
Most helpful comment
Use props.original