react-lazy-load
react-lazy-load copied to clipboard
Unable to find node on an unmounted component
I am trying to trigger click on button every time it shows to user, everything works, but i am receiving following error
Any ideas how to fix?
!this.props.busy && this.props.loadMore &&
<LazyLoad onContentVisible={this.props.onLoadMore}>
<button onClick={this.props.onLoadMore} />
</LazyLoad>
same issue
did you check event binding? like this.onClick = this.onClick.bind(this);
Maybe related to suspense