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

fbshipit-source-id: 3a4bc5bad1a9ff5e7292961111524fef56cbcde7
R
Rob Hogan committed
a92bea818a0f9fc06623ed2fe9c20eb78dde46a6
Parent: 91e3f77
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 3/27/2026, 6:30:45 PM