react-infinite icon indicating copy to clipboard operation
react-infinite copied to clipboard

setState being called after unmount

Open dfrese opened this issue 6 years ago • 0 comments

I see the React warning "Warning: Can't call setState (or forceUpdate) on an unmounted component." regularly, in particular in the setTimeout context initiated from manageScrollTimeouts.

The component should either cancel all timeouts in willUnmount, or check if's still mounted before each setState in asynchronous contexts.

Version 0.13.0.

dfrese avatar Nov 27 '18 23:11 dfrese