gaearon/react-side-effect
Auf GitHub ansehenReact v16: Error during mount causes instance to never be removed from mountedInstances
Open
#40 geöffnet am 9. Okt. 2017
help wanted
Repository-Metriken
- Stars
- (1.214 Stars)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
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?