SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

Babel preset: Add unstable_preserveAsync to experiment with disabling async transforms for SH (#56254)

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

Disable `babel/plugin-transform-async-to-generator` and `babel/plugin-transform-async-generator-functions` when `customTransformOptions.unstable_preserveAsync` is truthy. This allows us to experiment with native async/await support in Static Hermes.

Changelog: [Internal]

Reviewed By: vzaidman

Differential Revision: D93013928
R
Rob Hogan committed
41949b41d15c137b974e48f1a914ab7b0ad693bd
Parent: 91e3f77
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 3/27/2026, 2:53:12 PM