Skip to content

Commit d4bf644

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Update deprecation message for ReactNativeHost class (#53118)
Summary: Pull Request resolved: #53118 Update deprecation message for ReactNativeHost class changelog: [internal] internal Reviewed By: shwanton Differential Revision: D79677829 fbshipit-source-id: 5013e0988a1ffbfea49a261fd23ac71af76c3313
1 parent 2697e8a commit d4bf644

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactNativeHost.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
*
3636
* @deprecated This class will be replaced by com.facebook.react.ReactHost in the New Architecture.
3737
*/
38-
@Deprecated
38+
@Deprecated(
39+
since = "This class is part of Legacy Architecture and will be removed in a future release")
3940
@LegacyArchitecture(logLevel = LegacyArchitectureLogLevel.ERROR)
4041
@Nullsafe(Nullsafe.Mode.LOCAL)
4142
public abstract class ReactNativeHost {

0 commit comments

Comments
 (0)