SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 94 C++

Babel preset: Add unstable_preserveDestructuring to experiment with disabling destructuring transform for SH (#56829)

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

Disable `babel/plugin-transform-destructuring` when `customTransformOptions.unstable_preserveDestructuring` is truthy. This allows us to experiment with native destructuring support in Static Hermes.

Changelog: [Internal]

Reviewed By: vzaidman

Differential Revision: D93013925

fbshipit-source-id: bfc2b1cb8e04c28d2ae71b596bf759e3dc0e5701
R
Rob Hogan committed
44a9566bf67e5789ea311e74f4861aefe344e3ce
Parent: 3b76474
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 5/18/2026, 6:14:40 PM