Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove incorrect state update during unmount in Modal (#46218)
Summary: Pull Request resolved: #46218 Changelog: [internal] #42975 added some logic to fix modal on iOS for Paper but introduced a state update in `componentWillUnmount`. Doing this is incorrect and we've seen cases where it leads to forcing passive effects synchronously, which can affect performance. This removes that unnecessary call to update the state, because the component will be unmounted anyway. Reviewed By: bgirard Differential Revision: D61813988 fbshipit-source-id: bb203578376d86a907544fa62a0d04e93ca132ef
- Loading branch information