You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Deprecate unstable_reactLegacyComponentNames
* add warning and todos for removal
* add ios warning as well
---------
Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
> Note: Only applicable when new architecture is turned on.
95
+
> [!CAUTION]
96
+
> Deprecated in React Native 0.74, where this behavior is detected automatically and this config does nothing. You can safely remove it from your project.
98
97
99
98
Please note that this is part of the **Unstable Fabric Interop Layer**, and might be subject to breaking change in the future,
100
99
hence the `unstable_` prefix.
@@ -104,6 +103,8 @@ This will allow you to use libraries that haven't been migrated yet on the New A
104
103
105
104
The list should contain the name of the components, as they're registered in the ViewManagers (i.e. just `"Button"`).
106
105
106
+
Since React Native 0.74, this property is ignored as the Interop Layer is **Automatic**, you don't need to register the Legacy Components anymore and they will be discovered automatically.
107
+
107
108
#### project.ios.automaticPodsInstallation
108
109
109
110
A boolean value to determine if you want to automatically install CocoaPods when running `run-ios` or `build-ios` command when:
@@ -141,7 +142,8 @@ Array of strings that will be passed to the `npx react-native run-android` comma
> Note: Only applicable when new architecture is turned on.
145
+
> [!CAUTION]
146
+
> Deprecated in React Native 0.74, where this behavior is detected automatically and this config does nothing. You can safely remove it from your project.
145
147
146
148
Please note that this is part of the **Unstable Fabric Interop Layer**, and might be subject to breaking change in the future,
147
149
hence the `unstable_` prefix.
@@ -151,6 +153,8 @@ This will allow you to use libraries that haven't been migrated yet on the New A
151
153
152
154
The list should contain the name of the components, as they're registered in the ViewManagers (i.e. just `"Button"`).
153
155
156
+
Since React Native 0.74, this property is ignored as the Interop Layer is **Automatic**, you don't need to register the Legacy Components anymore and they will be discovered automatically.
157
+
154
158
### platforms
155
159
156
160
A object with platforms defined inside a project. You can check the format and options available [`here`](platforms.md#platform-interface)
'The "project.android.unstable_reactLegacyComponentNames" config option is not necessary anymore for React Native 0.74 and does nothing. Please remove it from the "react-native.config.js" file.',
'The "project.ios.unstable_reactLegacyComponentNames" config option is not necessary anymore for React Native 0.74 and does nothing. Please remove it from the "react-native.config.js" file.',
0 commit comments