Skip to content

docs: update native module instructions#4978

Open
mafo5 wants to merge 9 commits intofacebook:mainfrom
mafo5:patch-1
Open

docs: update native module instructions#4978
mafo5 wants to merge 9 commits intofacebook:mainfrom
mafo5:patch-1

Conversation

@mafo5
Copy link

@mafo5 mafo5 commented Feb 5, 2026

I recently updated my ReactNative Project to 0.83
In this process I stumbled over the warning that the ReactPackage.createNativeModules is replaced by the BaseReactPackage.getModule function.

Unfortunately I'm using custom events in my modules and therefor all my modules broke after the migration.
This let me to go step by step through the documentation of the native module sections.

Here I noticed that the code is not alined to the react native community templates and a lot of deprecated code is used. So this is my attempt to fix this documentation to use the current state of code.

@meta-cla
Copy link

meta-cla bot commented Feb 5, 2026

Hi @mafo5!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@netlify
Copy link

netlify bot commented Feb 5, 2026

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 281151a
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/6984be0238edcc0008003e3e
😎 Deploy Preview https://deploy-preview-4978--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@meta-cla meta-cla bot added the CLA Signed label Feb 5, 2026
@mafo5 mafo5 changed the title Update workspace file name in installation instructions Update installation instructions Feb 12, 2026
@mafo5 mafo5 changed the title Update installation instructions docs: update native module instructions Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant