react/packages/react-native-renderer
Ruslan Lesiutin d66fa02a30
fix: use public instance in Fiber renderer and expose it from getInspectorDataForViewAtPoint (#31068)
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
https://github.com/facebook/react/pull/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)
2024-09-26 10:17:16 +01:00
..
src fix: use public instance in Fiber renderer and expose it from getInspectorDataForViewAtPoint (#31068) 2024-09-26 10:17:16 +01:00
fabric.js ESLint upgrade to use hermes-eslint (#25915) 2022-12-20 14:27:01 -05:00
index.js lint: enable reportUnusedDisableDirectives and remove unused suppressions (#28721) 2024-06-21 12:24:32 -04:00
package.json Remove Flight Relay DOM/Native (#26828) 2023-05-17 20:33:25 -04:00