Skip to content

Add createElement ref prop compiler fixture#36391

Open
raashish1601 wants to merge 1 commit intofacebook:mainfrom
raashish1601:codex/compiler-createelement-ref-prop
Open

Add createElement ref prop compiler fixture#36391
raashish1601 wants to merge 1 commit intofacebook:mainfrom
raashish1601:codex/compiler-createelement-ref-prop

Conversation

@raashish1601
Copy link
Copy Markdown

Summary

Why

The reported createElement/ref case now compiles on current main. This fixture locks in that behavior so React.createElement does not regress relative to the JSX <canvas ref={ref} /> case.

Covers #31357.

Test Plan

  • corepack yarn workspace snap run snap --update --pattern createElement-ref-prop --sync
  • corepack yarn workspace snap run snap --pattern createElement-ref-prop --sync
  • corepack yarn workspace babel-plugin-react-compiler run lint -- --quiet
  • corepack yarn prettier

@meta-cla meta-cla Bot added the CLA Signed label May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant