Skip to content

Commit

Permalink
Document future deprecation of ReactContextBaseJavaModule (#40876)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #40876

Document future deprecation of ReactContextBaseJavaModule

changelog: [internal] internal

Reviewed By: arushikesarwani94

Differential Revision: D50233131

fbshipit-source-id: ef81ff11ce6b58cde5f29d60d9b38de720e77abe
  • Loading branch information
mdvacca authored and facebook-github-bot committed Oct 12, 2023
1 parent e48d18f commit bf4d10e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
/**
* Base class for Catalyst native modules that require access to the {@link ReactContext} instance.
*/
@DeprecatedInNewArchitecture
@DeprecatedInNewArchitecture(
message =
"ReactContextBaseJavaModule will be deprecated in new Architecture of React Native, use BaseJavaModule instead")
public abstract class ReactContextBaseJavaModule extends BaseJavaModule {

public ReactContextBaseJavaModule() {
Expand Down

0 comments on commit bf4d10e

Please sign in to comment.