Skip to content

Commit

Permalink
Update deprecation documentation (facebook#39766)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#39766

Update deprecation documentation

changelog: [internal] internal

bypass-github-export-checks

Reviewed By: cortinico

Differential Revision: D49834868

fbshipit-source-id: 729a51495730a58475e1dbc95400f1ef7dc39c59
  • Loading branch information
mdvacca authored and facebook-github-bot committed Oct 4, 2023
1 parent 2c3ff9e commit d0bb2e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ open class DefaultReactActivityDelegate(

@Deprecated(
message =
"Creating DefaultReactActivityDelegate with both fabricEnabled and concurrentReactEnabled is deprecated. Please pass only one boolean value that will be used for both flags",
"Creating DefaultReactActivityDelegate with both fabricEnabled and " +
"concurrentReactEnabled is deprecated. Please pass only one boolean value that will" +
" be used for both flags",
level = DeprecationLevel.WARNING,
replaceWith =
ReplaceWith("DefaultReactActivityDelegate(activity, mainComponentName, fabricEnabled)"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
/**
* Annotation for use on {@link com.facebook.react.bridge.BaseJavaModule}s to describe properties
* for that module.
*
* @deprecated This property is unused and it's planning to be removed in a future version of React
* Native. Please refrain from using it.
*/
@Retention(RUNTIME)
@Target(TYPE)
Expand All @@ -40,6 +37,9 @@
/**
* Whether this module has constants to add, defaults to true as that is safer for when a correct
* annotation is not included
*
* @deprecated This property is unused and it's planning to be removed in a future version of
* React Native. Please refrain from using it.
*/
@Deprecated
boolean hasConstants() default true;
Expand Down

0 comments on commit d0bb2e4

Please sign in to comment.