Commit cc9dc61
Fixing Fabric Interop layer bug defaulting to UnstableLegacyViewManagerAutomaticComponentDescriptor irrespective of feature flag (facebook#50441)
Summary:
Pull Request resolved: facebook#50441
When useFabricInterop is disabled, deleting component descriptors in Component Registry is failing since facebook#47321 removed the Fabric Interop check from the ComponentDescriptorRegistry.cpp which was added earlier in facebook#42294
Adding back the logic of Fallback component descriptor and error for the same.
Changelog:
[General][Fixed] Fixing Fabric Interop layer bug defaulting to UnstableLegacyViewManagerAutomaticComponentDescriptor irrespective of feature flags.
Reviewed By: javache
Differential Revision: D722660171 parent 69a6c01 commit cc9dc61
File tree
1 file changed
+16
-5
lines changed- packages/react-native/ReactCommon/react/renderer/componentregistry
1 file changed
+16
-5
lines changedpackages/react-native/ReactCommon/react/renderer/componentregistry/ComponentDescriptorRegistry.cpp
Lines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
91 | 102 | | |
92 | 103 | | |
93 | 104 | | |
| |||
0 commit comments