Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use public instance in Fiber renderer and expose it from getInsp…
…ectorDataForViewAtPoint (facebook#31068) Summary: React DevTools no longer operates with just Fibers, it now builds its own Shadow Tree, which represents the tree on the Host (Fabric on Native, DOM on Web). We have to keep track of public instances for a select-to-inspect feature. We've recently changed this logic in facebook/react#30831, and looks like we've been incorrectly getting a public instance for Fabric case. Not only this, turns out that all `getInspectorData...` APIs are returning Fibers, and not public instances. I have to expose it, so that React DevTools can correctly identify the element, which was selected. Changes for React Native are in [D63421463](https://www.internalfb.com/diff/D63421463) DiffTrain build for commit facebook/react@d66fa02. Differential Revision: D63453667
- Loading branch information