Closed JeremyBradshaw7 closed 5 years ago
Found a workaround, problem was introduced by trying to call a render function passed in as props like this:
renderRow={(data) => {
if (this.props.renderItem) {
this.props.renderItem(data);
}
}}
It seems this
is undefined here?. If I call it more simply like this it works:
renderRow={this.props.renderItem}
Getting this error thrown on passing what looks to me like a valid data and order props.
It doesn't seem to matter if I supply a rowHasChanged function prop or not.