gaearon/react-side-effect
在 GitHub 查看React v16: Error during mount causes instance to never be removed from mountedInstances
Open
#40 建立於 2017年10月9日
help wanted
倉庫指標
- Star
- (1,214 star)
- PR 合併指標
- (PR 指標待抓取)
描述
I'm guessing componentWillUnmount isn't called. Would a fix be to listen to componentDidCatch, splice the array as in componentWillUnmount and then rethrow the error?