mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: This implements all compatibility methods from `ReactFabricHostComponent` into `ReactNativeElement` and uses the feature flag `enableAccessToHostTreeInFabric` to choose between them at runtime. This flag is disabled everywhere so this won't have an effect for now. Both these classes implement the NativeMethods interface, so they're interchangeable as refs in existing product code. Changelog: [internal] bypass-github-export-checks Reviewed By: yungsters Differential Revision: D44304435 fbshipit-source-id: 43b5525b943e385287d7b00107147884b859c1fd