mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Introduce StableReactNativeAPI annotation (#40879)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/40879 Introduce StableReactNativeAPI annotation, the goal of this annotation is to describe classes, interfaces and members that are considered Stable and will remain part of the new architecture of React Native changelog: [internal] internal Reviewed By: arushikesarwani94 Differential Revision: D50195996 fbshipit-source-id: a64a27217a6fd885d2c188a6847565b3413bb232
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b9c50e268c
commit
b8534e60fc
+13
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
package com.facebook.react.common.annotations
|
||||
|
||||
/** This API is stable and is likely not to change in the New Architecture of React Native. */
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY)
|
||||
annotation class StableReactNativeAPI
|
||||
Reference in New Issue
Block a user