8000 setState being called after unmount · Issue #287 · seatgeek/react-infinite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 10, 2020. It is now read-only.

setState being called after unmount #287

Open
dfrese opened this issue Nov 27, 2018 · 0 comments
Open

setState being called after unmount #287

dfrese opened this issue Nov 27, 2018 · 0 comments

Comments

@dfrese
Copy link
dfrese commented Nov 27, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0