React Native Internal Documentation and Source

repository·main·Indexed Apr 15, 2026

https://github.com/facebook/react-native

Central repository for React Native's internal technical documentation and source code, intended for contributors and framework developers. Contains monorepo structure with public packages in the packages/ directory and internal tools like RNTester. Includes packages such as @react-native/community-cli-plugin, @react-native/core-cli-utils, @react-native/debugger-frontend, and @react-native/debugger-shell. End users should refer to reactnative.dev for usage guides.

Tokens
19.8K
Snippets
54
Records
121
Agent score
100%

What's inside facebook/react-native

  1. Overview of React Native Feature Flags (Android)

    main
    This package provides the Java and Kotlin bindings for the internal React Native feature flags system on Android. Feature flags allow the React Native runtime to enable or disable specific features at runtime or build time, facilitating controlled rollouts and experimental feature testing within the Android environment.
  2. Overview of @react-native/gradle-plugin

    main
    The @react-native/gradle-plugin is a Gradle plugin designed to build and configure React Native applications for the Android platform. It handles the necessary build logic and configuration required to integrate React Native into an Android project. For applications created using the standard React Native template, this plugin is applied automatically.
  3. Overview of @react-native/debugger-shell

    main

    The @react-native/debugger-shell is an experimental Electron-based shell designed to host the React Native DevTools.

    Historically, React Native DevTools relied on 'hosted mode' within specific browsers like Chrome or Edge. This created UX friction, such as requiring specific browser installations and making it difficult to manage debugger windows when relaunching apps. This shell addresses those issues by providing a portable, customized Chromium-based environment that can be bundled directly with React Native, allowing for better control over the debugging workflow and window management.

  4. Overview of @react-native/core-cli-utils

    main

    The @react-native/core-cli-utils package is a reference implementation of React Native CLI tooling. It provides composable, ordered Task objects designed to automate common CLI operations.

    Note for Framework Authors: This package is not published to npm. It is intended to be used as a starting point or reference for building custom CLI tooling. You should not depend on it as a stable, versioned API.

  5. Overview of Android event dispatching in the New Architecture

    main
    In the React Native New Architecture, Android event dispatching is handled by a specific set of Kotlin classes designed to process events within the Fabric implementation. While these classes are part of the Fabric system, they maintain a tight coupling with the legacy event dispatch mechanism to ensure compatibility. To support this interoperability, some interfaces and components are located in the com.facebook.react.uimanager.events package so they can reference internal APIs.
  6. Overview of RNTester PlatformTest Framework

    main

    The RNTester PlatformTest is a manual testing framework designed to verify React Native's compliance with W3C specifications, similar to Web Platform Tests (WPT). It allows developers to create test cases as React components to validate platform-specific behaviors. This framework is primarily used within the RNTester application for internal verification and regression testing.

    Sources: packages/rn-tester/js/examples/Experimental/PlatformTest/README.md