Skip to content

Commit bfc64f4

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Mark LazyReactPackage as Deprecated in the new architecture of React Native (#41097)
Summary: Pull Request resolved: #41097 LazyReactPackage is beig replaced by TurboReactPackage / BaseReactPackage, that's why I'm docummenting LazyReactPackage as Deprecated changelog: [internal] internal Reviewed By: arushikesarwani94 Differential Revision: D50338301 fbshipit-source-id: 6093772400ccaf928a549c078791845513dcb56a
1 parent e08a197 commit bfc64f4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,8 @@
2525
import java.util.List;
2626
import java.util.Map;
2727

28-
/**
29-
* React package supporting lazy creation of native modules.
30-
*
31-
* <p>TODO(t11394819): Make this default and deprecate ReactPackage
32-
*/
28+
/** React package supporting lazy creation of native modules. */
29+
@Deprecated(since = "This class is deprecated, please use BaseReactPackage instead.")
3330
public abstract class LazyReactPackage implements ReactPackage {
3431

3532
@Deprecated

0 commit comments

Comments
 (0)