Skip to content

Update docs and samples to use REACT_TURBO_MODULE as the default#1155

Open
HariniMalothu17 wants to merge 2 commits intomainfrom
user/FixDocsNativeModules
Open

Update docs and samples to use REACT_TURBO_MODULE as the default#1155
HariniMalothu17 wants to merge 2 commits intomainfrom
user/FixDocsNativeModules

Conversation

@HariniMalothu17
Copy link
Contributor

@HariniMalothu17 HariniMalothu17 commented Feb 24, 2026

Description

Updates documentation and sample code to recommend REACT_TURBO_MODULE over REACT_MODULE for native modules. REACT_TURBO_MODULE is required when using REACT_EVENT with NativeEventEmitter in JavaScript, and should be the default for all new modules.

REACT_MODULE is retained in docs only where it is explicitly described as legacy (for older RN versions that lack native TurboModule event emitters).

Resolves #1154

Screenshots

Add any relevant screen captures here from before or after your changes.

Microsoft Reviewers: Open in CodeFlow

@HariniMalothu17 HariniMalothu17 requested a review from a team as a code owner February 24, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Improve Turbo Module docs for EventEmitter

1 participant