Skip to content

Deprecate DrawerLayoutAndroid#57397

Closed
zoontek wants to merge 1 commit into
react:mainfrom
zoontek:deprecate-drawer-layout-android
Closed

Deprecate DrawerLayoutAndroid#57397
zoontek wants to merge 1 commit into
react:mainfrom
zoontek:deprecate-drawer-layout-android

Conversation

@zoontek

@zoontek zoontek commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary:

Deprecates DrawerLayoutAndroid as part of the effort to keep core lean. It is Android only, and react-native-drawer-layout is a better, cross-platform alternative.

This adds a @deprecated JSDoc tag to the component and its props (Flow and TypeScript) and a one-time runtime warning when the component is imported, pointing users to react-native-drawer-layout. No behavior changes.

Changelog:

[ANDROID] [DEPRECATED] - Deprecate DrawerLayoutAndroid, use react-native-drawer-layout instead

Test Plan:

  • @deprecated shows a strikethrough on DrawerLayoutAndroid in editors.
  • Importing/rendering DrawerLayoutAndroid logs the deprecation warning once, pointing to react-native-drawer-layout.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 1, 2026
@facebook-github-tools facebook-github-tools Bot added p: Expo Partner: Expo Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Jul 1, 2026
@meta-codesync

meta-codesync Bot commented Jul 1, 2026

Copy link
Copy Markdown

@Abbondanzo has imported this pull request. If you are a Meta employee, you can view this in D110334227.

@meta-codesync meta-codesync Bot closed this in 5c5e6cd Jul 1, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Jul 1, 2026
@meta-codesync

meta-codesync Bot commented Jul 1, 2026

Copy link
Copy Markdown

@Abbondanzo merged this pull request in 5c5e6cd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Expo Partner: Expo Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant