dillon1000/react

Commit

[compiler] Fix to ref access check to ban ref?.current

ghstack-source-id: ea417a468eac2607ce8d1dddcb2e9581e1c4db27
Pull Request resolved: https://github.com/facebook/react/pull/31360
Browse files
Changed paths3 files
First-parent comparison
M compiler/packages/babel-plugin-react-compiler/src/Validation/ValidateNoRefAccesInRender.ts ModifiedA compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/error.ref-optional.expect.md AddedA compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/error.ref-optional.js Added
Patch

Files changed

Rendering syntax-highlighted changes…