Skip to content

[docs] Remove outdated bridge and null state references from AppState docs#4985

Open
dr-thca wants to merge 1 commit intofacebook:mainfrom
dr-thca:fix/remove-bridge-references-from-appstate-docs
Open

[docs] Remove outdated bridge and null state references from AppState docs#4985
dr-thca wants to merge 1 commit intofacebook:mainfrom
dr-thca:fix/remove-bridge-references-from-appstate-docs

Conversation

@dr-thca
Copy link

@dr-thca dr-thca commented Feb 13, 2026

Summary

  • Removes outdated "bridge" reference from AppState.currentState documentation
  • Removes mention of currentState being null at launch, which is no longer the case with the new architecture

Context

Fixes #4689

Since React Native 0.76, the new architecture (TurboModules) is the default. AppState.currentState is now populated synchronously via getConstants() during module construction, so it is never null when user code accesses it. The old documentation referenced the "bridge" and a transient null state that no longer applies.

The TypeScript types already declare currentState as non-nullable (AppStateStatus), so this change aligns the prose with the types and the runtime behavior.

Changes

Two sentences updated across 8 files (docs/appstate.md + versioned docs for 0.77-0.83):

  1. Basic Usage section: Removed "However, currentState will be null at launch while AppState retrieves it over the bridge."
  2. Example description: Removed ", and the null state will happen only momentarily"

@meta-cla
Copy link

meta-cla bot commented Feb 13, 2026

Hi @dr-thca!

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 13, 2026

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 90bede8
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/698f32d37b09c10008b9c86f
😎 Deploy Preview https://deploy-preview-4985--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.

@dr-thca dr-thca force-pushed the fix/remove-bridge-references-from-appstate-docs branch from be6f2b4 to 90bede8 Compare February 13, 2026 14:18
@meta-cla meta-cla bot added the CLA Signed label Feb 13, 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.

"App state" documentation still mentions a "bridge"

1 participant