Skip to content

Enable unstable_disableInputAstCloning by default - #2132

Merged
vzaidman merged 1 commit into
react:mainfrom
vzaidman:enable-disable-input-ast-cloning
Oct 29, 2026
Merged

vzaidman merged 1 commit into
react:mainfrom
vzaidman:enable-disable-input-ast-cloning

Conversation

@vzaidman

Copy link
Copy Markdown
Contributor

Summary

Sets transformer.unstable_disableInputAstCloning to true by default, so the transform worker skips cloning the input AST.

The option was added in #2033 and has been tested there, and separately by @robhogan (#2033 (comment)). We believe it can be shipped safely.

Changelog: [Performance] Skip input AST cloning in the transform worker by default

Test plan

@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 Oct 29, 2026
@vzaidman
vzaidman requested review from huntie and robhogan October 29, 2026 16:45
@vzaidman
vzaidman merged commit a87d864 into react:main Oct 29, 2026
16 checks passed
@vzaidman
vzaidman deleted the enable-disable-input-ast-cloning branch October 29, 2026 20:13
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants