Skip to content

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

Closed
robhogan wants to merge 1 commit intomainfrom
export-D93010263
Closed

Babel preset: Add unstable_preserveClassPrivate to experiment with disabling private class transforms for SH (#55880)#55880
robhogan wants to merge 1 commit intomainfrom
export-D93010263

Conversation

@robhogan
Copy link
Contributor

@robhogan robhogan commented Mar 3, 2026

Summary:

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

@meta-codesync
Copy link

meta-codesync bot commented Mar 3, 2026

@robhogan has exported this pull request. If you are a Meta employee, you can view the originating Diff in D93010263.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 3, 2026
meta-codesync bot pushed a commit that referenced this pull request Mar 3, 2026
…sabling private class transforms for SH (#55880)

Summary:

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
@meta-codesync meta-codesync bot force-pushed the export-D93010263 branch from 448c679 to c1b11df Compare March 3, 2026 14:59
robhogan added a commit that referenced this pull request Mar 3, 2026
…sabling private class transforms for SH (#55880)

Summary:
Pull Request resolved: #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
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @robhogan in 91d9289

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Mar 3, 2026
@github-actions
Copy link

github-actions bot commented Mar 3, 2026

Job Summary for Gradle

Test All :: run_fantom_tests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
react-native-github :private:react-native-fantom:buildFantomTester 9.3.1 Build Scan not published

@github-actions
Copy link

github-actions bot commented Mar 3, 2026

Job Summary for Gradle

Test All :: run_fantom_tests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
react-native-github :private:react-native-fantom:buildFantomTester 9.3.1 Build Scan not published

meta-codesync bot pushed a commit that referenced this pull request Mar 12, 2026
…sabling private class transforms for SH (#55880)

Summary:

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
robhogan added a commit that referenced this pull request Mar 12, 2026
…sabling private class transforms for SH (#55880)

Summary:
Pull Request resolved: #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
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @robhogan in 723518a

When will my fix make it into a release? | How to file a pick request?

meta-codesync bot pushed a commit that referenced this pull request Mar 12, 2026
…sabling private class transforms for SH (#55880)

Summary:

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
robhogan added a commit that referenced this pull request Mar 12, 2026
…sabling private class transforms for SH (#55880)

Summary:
Pull Request resolved: #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
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @robhogan in 31f9817

When will my fix make it into a release? | How to file a pick request?

@meta-codesync meta-codesync bot changed the title Babel preset: Add unstable_preserveClassPrivate to experiment with disabling private class transforms for SH Babel preset: Add unstable_preserveClassPrivate to experiment with disabling private class transforms for SH (#55880) Mar 17, 2026
meta-codesync bot pushed a commit that referenced this pull request Mar 17, 2026
…sabling private class transforms for SH (#55880)

Summary:

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
…sabling private class transforms for SH (#55880)

Summary:
Pull Request resolved: #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
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @robhogan in 723333b

When will my fix make it into a release? | How to file a pick request?

@meta-codesync meta-codesync bot closed this in fa65766 Mar 18, 2026
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @robhogan in fa65766

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants