mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
6c0f5d1178
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