#2192·hermes

RN 0.88 ships without lazy-compilation fix

Author: NezzCreated Sep 23, 2026Updated Sep 23, 2026
Labelsbug

Bug Description

Hermes 260318099.0.3 - the version react-native 0.88.0-rc.1 and 0.88.0-rc.2 ship - does not include the lazy-compilation fix from #2121.

build engine modules evaluated JS start → first frame
RN 0.88.0-rc.1 260318099.0.3 116.2 / 150.9 / 131.9 121.0 / 158.6 / 137.2
RN 0.86.3 250829098.0.17 9.7 / 7.8 / 6.8 s 10.4 / 8.0 / 7.0 s
  • I have run gradle clean and confirmed this bug does not occur with JSC
  • The issue is reproducible with the latest version of React Native.

Hermes git revision (if applicable): 7e5dfcd59b58d87aad5ea4834dc31355374f3c1c React Native version: 0.88.0-rc.1 and 0.88.0-rc.2 OS: Android 16 emulator (API 36) Platform (most likely one of arm64-v8a, armeabi-v7a, x86, x86_64): arm64-v8a

Steps To Reproduce

  1. git clone -b slow-dev-58 https://github.com/Nezz/expo-repro && cd expo-repro
  2. bun install && node scripts/generate-modules.mjs 24000
  3. npx expo run:android (debug build, so Hermes lazily compiles the Metro dev bundle)
  4. adb logcat '*:S' 'ReactNativeJS:V' and read 24000 modules evaluated in Xms, engine: "…" and first frame Xms after JS started
  5. Baseline: git checkout slow-dev-57-with-fix, bump to expo@~57.0.24 [email protected] (Hermes 250829098.0.17), repeat steps 2–4

code example: the generated graph is plain ES modules exporting small objects and functions, imported through 48 chunk barrels; see scripts/generate-modules.mjs. index.ts sets globalThis.__jsStart, and App.tsx logs the two durations and the engine version:

typescript
const evaluatedMs = Date.now() - globalThis.__jsStart;
const engine = globalThis.HermesInternal?.getRuntimeProperties?.();
console.log(`${MODULE_COUNT} modules evaluated in ${evaluatedMs}ms`);
console.log(`engine: ${JSON.stringify(engine?.['OSS Release Version'])}`);

The Expected Behavior

260318099.x should evaluate the 24,000-module dev bundle in the same range as 250829098.0.17