SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Babel preset: Add unstable_preserveClassPrivate to experiment with disabling private class transforms for SH (#55880)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55880

Disable `babel/plugin-transform-private-methods` and `babel/plugin-transform-private-property-in-object` when `customTransformOptions.unstable_preserveClassPrivate` is truthy. This allows us to experiment with native private class field and method support in Static Hermes.

Changelog: [Internal]

Reviewed By: vzaidman, javache

Differential Revision: D93010263
R
Rob Hogan committed
723333be7d04b5c2786eb3b09376e0e5cc1aad83
Parent: 1132229
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 3/17/2026, 8:17:51 PM