Files
react-native/Libraries
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](https://github.com/facebook/react/blob/aa736a0fa6e22f902bd7a98dcb9b24d8c4310e35/packages/react-native-renderer/src/ReactNativeHostConfig.js#L138)
- Fabric: [ReactFabricHostConfig.js](https://github.com/facebook/react/blob/aa736a0fa6e22f902bd7a98dcb9b24d8c4310e35/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
..
2021-02-04 12:48:13 -08:00
2020-10-18 20:30:55 -07:00
2021-02-04 17:17:17 -08:00
2020-02-21 10:34:40 -08:00