Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error when trying to unobserve detached targets in IntersectionOb…
…server Summary: Yet another problem caused by React being too aggressive cleaning up detached fibers. This fixes a problem in `IntersectionObserver` when trying to `unobserve` detached targets. In that case we didn't have access to its shadow node anymore, so we didn't have a way to unobserve in native. This keeps an additional mapping in JS to do the conversion even after detached. Changelog: [internal] Differential Revision: D51257960
- Loading branch information