react-native-macos/Libraries/Inspector
Tim Yung 6c0f5d1178 Fabric: Fix DevTools Inspector
Summary:
Fixes a bug when using Fabric with React DevTools to inspect a component.

The bug is due to the shape of instances being a bit different. These are where Paper and Fabric create instances differently:

- Paper: [ReactNativeHostConfig.js](aa736a0fa6/packages/react-native-renderer/src/ReactNativeHostConfig.js (L138))
- Fabric: [ReactFabricHostConfig.js](aa736a0fa6/packages/react-native-renderer/src/ReactFabricHostConfig.js (L218-L236))

Changelog:
[Internal]

Reviewed By: TheSavior

Differential Revision: D26265476

fbshipit-source-id: dfc510dc3854e1478d20a4c612237b1c2da608eb
2021-02-04 17:17:17 -08:00
..
BorderBox.js xplat/js/react-native-github 2019-08-09 10:11:15 -07:00
BoxInspector.js xplat/js/react-native-github 2019-08-09 10:11:15 -07:00
ElementBox.js Exact-by-default codemod for react-native-github 2019-11-21 09:42:57 -08:00
ElementProperties.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
Inspector.js Fabric: Fix DevTools Inspector 2021-02-04 17:17:17 -08:00
InspectorOverlay.js Add todo notes for nativeID hack 2020-08-10 15:37:12 -07:00
InspectorPanel.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
NetworkOverlay.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
PerformanceOverlay.js Update PerformanceLogger to nullable timespans, points, extras 2020-09-28 10:53:55 -07:00
StyleInspector.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
resolveBoxStyle.js add spec for I18nManager (#24908) 2019-05-31 19:56:37 -07:00