Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFR][v3] CoreAdminRouter - use useSafeSetState #3709

Merged
merged 1 commit into from Sep 18, 2019
Merged

[RFR][v3] CoreAdminRouter - use useSafeSetState #3709

merged 1 commit into from Sep 18, 2019

Conversation

natrim
Copy link
Contributor

@natrim natrim commented Sep 18, 2019

to prevent warning about setting state when unmounted, as the component can be unmounted before resolveChildren returns

( happens to me when i load permissions asynchronously )

to prevent warning about setting state when unmounted, as the component can be unmounted before resolveChildren returns
@fzaninotto fzaninotto merged commit 6ad586b into marmelab:next Sep 18, 2019
@fzaninotto
Copy link
Member

Thanks!

@fzaninotto fzaninotto added this to the 3.0.0 milestone Sep 18, 2019
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.

None yet

3 participants