Skip to content

Conversation

@nickxbs
Copy link

@nickxbs nickxbs commented Oct 2, 2020

Hi,
I found a issue about warning "Can't perform a React state update on an unmounted component." when removing the component which was using usePromiseTracker from DOM before it could finish updating its state.

For that reason i noticed that a check on isMounted.current was missing in notifyPromiseInProgress function.

Greets

@brauliodiez
Copy link
Member

Thanks !!!

@brauliodiez brauliodiez merged commit 2956faf into Lemoncode:master Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants