A framework for building native applications using React
Disable JS class transforms for Hermes V1 (use SH-native class support) (#55039)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55039 When `unstable_transformProfile` (either the preset option or via `caller` from Metro) is set to `'hermes-stable'` or `'hermes-canary'`, infer that the target engine is Hermes V1. For Hermes V1, we don't need to transform `class` syntax any more - this has been proven in production experiments. This should improve the performance of class-intensive APIs, like `Animated`, reduce bundle size, and improve bundling times. Changelog: [Internal] Disable JS class transform behind unstable_transformProfile=hermes-stable Reviewed By: javache, huntie Differential Revision: D89724839 fbshipit-source-id: c25d0080ddac19cc5a746b8d423e091a05df88a3
R
Rob Hogan committed
f6541681ba1decc6aa4a7f8d6db90477aae1be12
Parent: 4bd62a1
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com>
on 1/7/2026, 2:53:41 PM