Skip to content
Back to skills

React Native Knowledge Patch

ASecurity

React Native

  • 25 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
developmentjavascripttypescriptgojavaswiftc++reactnodetestingdebugging

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill react-native-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of React Native Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for React Native Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-react-native-knowledge-patch/badge)](https://www.skillsdirectory.com/skills/nevaberry-react-native-knowledge-patch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: react-native-knowledge-patch
description: React Native
version: "0.88.1"
license: MIT
metadata:
  author: Nevaberry
---


# React Native knowledge patch

Load this skill when upgrading React Native apps, adapting native extensions,
configuring builds, or checking UI, platform, networking, and DevTools behavior.
Use the quick references below for migrations and common features; open the
topic files for complete guidance, examples, and version-specific conditions.

## Reference index

| Reference | Topics |
| --- | --- |
| [Upgrades and architecture](references/upgrades-and-architecture.md) | Build requirements, precompiled iOS core, legacy interoperability, engines, symbolication, app lifecycle, SwiftPM |
| [Native extension migrations](references/native-extension-migrations.md) | Android and iOS extension APIs, TurboModules, Codegen, ArrayBuffer ownership, C++ headers and build flags |
| [Metro, networking, and tooling](references/metro-networking-and-tooling.md) | CLI, resolution, bundles, HTTPS, environment setup, Babel, ESLint, Jest, debug builds, network customization |
| [JavaScript APIs and observability](references/javascript-and-observability.md) | Imports, types, error reporting, native refs, DOM APIs, performance observations, DevTools |
| [Platform behavior](references/platform-behavior.md) | Navigation, measurements, status bars, input, hit-testing, appearance, accessibility, privacy |
| [UI components and styling](references/ui-components-and-styling.md) | Style migrations, compositing, images, fonts, colors, input, Pressable, Modal, experimental animations |

## Breaking changes and deprecations

### JavaScript setup and imports

Replace imports of the deprecated `react-native/Libraries/Core/InitializeCore`
with `import 'react-native/setup-env';`.
In 0.79, some internal modules converted to ES exports: a deep `require()` can
return the default export under `.default`, and named-only modules need a
namespace or named import. In 0.80, deep imports trigger app-source warnings.
Use root imports such as `import {ImageBackground} from 'react-native'` and opt
into the generated, root-only Strict TypeScript API in `tsconfig.json`.

### Component and accessibility migrations

- 0.85 removes `StyleSheet.absoluteFillObject`. Use `StyleSheet.absoluteFill`
  for the standard fill style, or define absolute positioning offsets directly
  for custom layouts.
- Migrate `experimental_backgroundSize`, `experimental_backgroundPosition`,
  and `experimental_backgroundRepeat` to `backgroundSize`,
  `backgroundPosition`, and `backgroundRepeat`.
- In 0.85, migrate `AccessibilityInfo.setAccessibilityFocus` to
  `AccessibilityInfo.sendAccessibilityEvent`.
- `InputAccessoryView` and `ReactFragment.fabricEnabled` are deprecated on Android.

### Errors and instrumentation

In 0.81, check whether reporting that relies on `console.error` needs to account
for errors now reported as uncaught. In 0.82, unhandled promise rejections also
surface through uncaught JavaScript error reporting and can appear in the
console and existing error-reporting integrations after an upgrade.
In 0.86.0, use the boolean `false` for `reportErrorsAsExceptions` to opt out of
exception reporting; replace falsy placeholders such as `null` or `0`.
The second argument passed to the hook registered with
`AppRegistry.setComponentProviderInstrumentationHook` is deprecated and now
warns when called. Remove calls to that argument from instrumentation hooks.

### Native extension migrations and ArrayBuffer ownership

In 0.85, `ReactTextUpdate` becomes internal, `UIManagerHelper` and
`ReactZIndexedViewGroup` are deprecated, `CatalystInstanceImpl` is removed, and
`NativeViewHierarchyManager` is stubbed out. Migrate host runtime delegate
methods from `RCTHostRuntimeDelegate` to `RCTHostDelegate`.
For removed `ShadowNode` pointer and list aliases, `SharedImageManager`, and
`ContextContainer::Shared`, use the underlying types directly.

Borrowed Java TurboModule `ArrayBuffer` bytes are valid only during the
synchronous call that receives them. For later use, copy inside that call with
`ArrayBuffer.arrayBufferWithCopiedBytes`: subsequent `bytes` or `size` access
throws `IllegalStateException`, and a previously obtained `ByteBuffer` can read
freed memory. Use `NSMutableData *` in Objective-C TurboModule methods that take
or return a JavaScript `ArrayBuffer`; Codegen accepts `EventEmitter<ArrayBuffer>`
for C++ TurboModules.

## iOS builds, engines, and integration

### Precompiled core and legacy layers

Starting in 0.84, `pod install` uses the prebuilt React Native core `.xcframework`
by default. Build core from source with:

```sh
RCT_USE_PREBUILT_RNCORE=0 bundle exec pod install
```

In 0.84, iOS builds omit Legacy Architecture code by default and retain the
interoperability layer. To restore compiled code for a native dependency,
install pods with `RCT_USE_PREBUILT_RNCORE=0 RCT_REMOVE_LEGACY_ARCH=0`.
CocoaPods and SwiftPM builds can set `RCT_REMOVE_LEGACY_MODULE_INTEROP` and
`RCT_REMOVE_LEGACY_COMPONENT_INTEROP` to opt out of the corresponding legacy
layers. Both default to off; enabling both removes `RCTGetModuleClasses`,
`RCTRegisterModule`, and static module registration.

### Engine selection and symbols

Built-in JavaScriptCore is removed in 0.81; JavaScriptCore apps require
`@react-native-community/javascriptcore`. Pod installation skips Hermes pods
when `USE_THIRD_PARTY_JSC` is enabled in 0.86.0.
For the previous Hermes release in 0.84, pin `hermes-compiler` to `0.15.0`;
Android needs `hermesV1Enabled=false` and a React Native source build. On iOS:

```sh
RCT_HERMES_V1_ENABLED=0 RCT_USE_PREBUILT_RNCORE=0 bundle exec pod install
```

For Hermes V1 symbolication, choose the dSYM matching the Debug or Release app
build: `260318099.0.4` for 0.88.0 and `260318099.0.5` for 0.88.1.

### SwiftPM projects

In 0.88.1, `spm add` and `spm update` write build settings to
`ReactNativeSPM/ReactNativeSPM.xcconfig` and scripts to `ReactNativeSPM/Scripts/`.
In a custom xcconfig beside that directory, add
`#include "ReactNativeSPM/ReactNativeSPM.xcconfig"`; add `$(inherited)` to target
settings that override React Native's values. After upgrading an existing
SwiftPM project to 0.88.1, run `npx react-native spm update` once to regenerate
the scheme's Sync SPM Autolinking pre-action.

## Metro, networking, and development tools

### Resolution, logs, and configuration

React Native 0.79 enables `package.json` `"imports"` and `"exports"` resolution
by default in Metro 0.82. If package export resolution breaks a dependency,
set `resolver.unstable_enablePackageExports = false` in `metro.config.js`.
In 0.81, Community CLI projects' `resolveRequest` and
`getModulesRunBeforeMainModule` hooks take effect; remove stale overrides if
the upgrade unexpectedly changes module resolution or startup order.

0.77 drops Metro's `a` and `i` shortcuts and turns off JavaScript log streaming.
Run `run-android` and `run-ios` directly; in 0.78, opt back into streaming with
`npx @react-native-community/cli start --client-logs`.
In 0.85, set `server.tls` on the exported Metro configuration for HTTPS bundles
and WSS Fast Refresh; set `reactNativeDevServerIp` in `android/gradle.properties`
to specify the development server IP at build time.

### Tests, platform inlining, and debug builds

In 0.85, install `@react-native/jest-preset` as a development dependency and set
`preset: '@react-native/jest-preset'` in the Jest configuration.
To inline `Platform.OS` and `Platform.select(...)` in a custom Babel setup,
pass both options to the React Native preset: `{platform: 'ios', inlinePlatform: true}`.
Use `npx react-native run-android --mode debugOptimized` or
`npx expo run:android --variant debugOptimized` to keep JavaScript DevTools with
the optimized native build. Choose plain `debug` for C++ debugging.

### Network inspection migrations

Android's `sendRequestInternal` is deprecated in 0.83. In 0.84, tooling using
`XHRInterceptor` or `WebSocketInterceptor` should migrate to the CDP `Network`
domain. Android networking libraries can send events to DevTools through the
unstable reporting API. The Canary release level adds WebSocket events to the
DevTools Network panel.

## UI and platform quick references

### Styles, images, and fonts

In 0.77, New Architecture `display: 'contents'` lets a wrapper receive bubbled
pointer events while its children lay out as if they were direct children of
the wrapper's parent.
Use `boxSizing: 'content-box'` to exclude padding and borders from declared
dimensions; set `isolation: 'isolate'` on an ancestor to confine descendant
`mixBlendMode` effects to its stacking context.
In 0.78, Android `Image` supports build-time vector or shape XML drawables.
Set both dimensions explicitly, and rebuild when adding or moving a drawable:
Metro cannot serve the XML over the network.
For variable fonts, set axes by tag on Android and iOS `Text`, for example
`<Text style={{fontVariationSettings: {wght: 650}}}>Title</Text>`.
Android also supports `fontVariationSettings` on `TextInput`.

### Navigation, measurements, and status bars

0.81 targets API 36 by default, with mandatory edge-to-edge and predictive back
enabled by default. If custom native code overrides `onBackPressed()`, migrate
or temporarily opt out of predictive back. Set `edgeToEdgeEnabled=true` in
`gradle.properties` for edge-to-edge on supported older Android releases.
In 0.86.0, React Native accounts for edge-to-edge when Android 15+ enforces it,
even with `edgeToEdgeEnabled` unset. Edge-to-edge `measureInWindow` coordinates
are corrected, as are `Dimensions.get('window')` values below Android 15 when
edge-to-edge is enabled.
In 0.88.1, `StatusBar` controls style and visibility on iOS 27 when built with
the iOS 27 SDK and `UIViewControllerBasedStatusBarAppearance` set to `YES`.
Custom root view controllers must return the `RCTStatusBarAppearance` values.

### Experimental animations

Starting with 0.85.1 on the experimental release level, the Shared Animation
Backend lets `Animated` drive layout properties such as `width`, Flexbox, and
position with `useNativeDriver: true`.

## Native refs, timing, and DevTools

From 0.82, native component refs expose a subset of DOM node APIs, including
`parentElement`, `childNodes`, `getBoundingClientRect()`, and
`ownerDocument.getElementById()`. Existing `measure()` helpers continue to work.
The 0.88 Canary release level supports `addEventListener`, `removeEventListener`,
and `dispatchEvent` on native view refs. `IntersectionObserver` is available in
0.83 Canary for asynchronous intersections between a native element and an ancestor.

Web Performance APIs become stable in 0.83, including production builds:
use `performance.mark()`, `performance.measure()`, `performance.getEntries*()`,
and `PerformanceObserver`. In 0.86.0, event observations default to a 104 ms
`durationThreshold`; observe shorter events with
`observer.observe({type: 'event', durationThreshold: 16})`.

In 0.83, DevTools records `fetch`, `XMLHttpRequest`, and `Image` requests with
initiators and network events in the Performance timeline. Expo-specific
request sources use the separate Expo Network panel, whose captures lack
initiators and Performance integration. In 0.85, multiple simultaneous CDP
connections let DevTools and another debugger stay attached to the same app.
On the experimental release level, `Page.captureScreenshot` captures app
screenshots, and the Performance panel supports screenshots in recordings.

Files in this skill

  • SKILL.md8.8 KB
  • coverage.json631 B
  • references/javascript-and-observability.md2.4 KB
  • references/metro-networking-and-tooling.md3.1 KB
  • references/native-extension-migrations.md3.1 KB
  • references/platform-behavior.md1.6 KB
  • references/ui-components-and-styling.md3.2 KB
  • references/upgrades-and-architecture.md5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.