gaearon/react-side-effect
Ver no GitHubReact v16: Error during mount causes instance to never be removed from mountedInstances
Open
#40 aberto em 9 de out. de 2017
help wanted
Métricas do repositório
- Stars
- (1.214 stars)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
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?