Files
react-native/Libraries
Tianyu Yao e047eed2eb Fix inspecting for non-fabric
Summary:
Changelog: [Internal]

I think this started to break when https://github.com/facebook/react/pull/25441 was synced to RN. Before, `closestInstance` would only be non-null under Fabric, after it could be non-null in both. And we were using `closestInstance` to determine which data to send to `selectNode` in devtools. This diff makes a change to call `selectNode` once for non-fabric and once for fabric, one of them would not send anything to devtools frontend, this would make sure it works for both platforms.

Reviewed By: mondaychen

Differential Revision: D41366466

fbshipit-source-id: fcf30d03e443f6fa067782cd31b7cfd2e0cd841e
2022-11-17 11:36:33 -08:00
..
2022-09-30 14:28:48 -07:00
2022-09-30 14:28:48 -07:00
2022-11-16 19:47:55 -08:00
2022-09-30 14:28:48 -07:00
2022-09-30 14:28:48 -07:00
2022-11-17 11:36:33 -08:00
2022-09-30 14:28:48 -07:00
2022-11-14 13:25:52 -08:00
2022-09-30 14:28:48 -07:00
2022-09-30 14:28:48 -07:00
2022-09-30 14:28:48 -07:00
2022-09-30 14:28:48 -07:00
2022-11-02 14:58:37 -07:00
2022-11-14 08:50:22 -08:00
2022-09-30 14:28:48 -07:00