You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disable JS class transforms for Hermes V1 (use SH-native class support) (#55039)
Summary:
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: huntie
Differential Revision: D89724839
0 commit comments