Update deprecation documentation (#39766)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39766 Update deprecation documentation changelog: [internal] internal bypass-github-export-checks Reviewed By: cortinico Differential Revision: D49834868 fbshipit-source-id: 729a51495730a58475e1dbc95400f1ef7dc39c59
This commit is contained in:
Родитель
2c3ff9eaa4
Коммит
d0bb2e49c7
|
@ -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)"))
|
||||
|
|
|
@ -16,9 +16,6 @@ import java.lang.annotation.Target;
|
|||
/**
|
||||
* 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)
|
||||
|
@ -40,6 +37,9 @@ public @interface ReactModule {
|
|||
/**
|
||||
* 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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче