dillon1000/react
Commit
Browse files [compiler] Fix to ref access check to ban ref?.current
ghstack-source-id: ea417a468eac2607ce8d1dddcb2e9581e1c4db27 Pull Request resolved: https://github.com/facebook/react/pull/31360
Changed paths3 files
First-parent comparisoncompiler/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 AddedPatch
Files changed
Rendering syntax-highlighted changes…