Using FixedDataTable in my react project and im suprised to see the warning below:
warning.js:36 Warning: FixedDataTable: isMounted is deprecated. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.
What I've understood is that isMounted is seen as an antipattern Link so im suprised to see it in the actual source code. Am I missing something here?
_didScrollStop: function _didScrollStop() {
if (this.isMounted() && this._isScrolling) {
this._isScrolling = false;
this.setState({ redraw: true });
if (this.props.onScrollEnd) {
this.props.onScrollEnd(this.state.scrollX, this.state.scrollY);
}
}
}