dillon1000/react
Commit
Browse files [compiler] Stop reusing ScopeDep type in AnalyzeFunctions
AnalyzeFunctions was reusing the `ReactiveScopeDependency` type since it happened to have a convenient shape, but we need to change this type to represent optionality. We now use a locally defined type instead. ghstack-source-id: e305c6ede4bcbdffce606336c572cdc6dc1556c3 Pull Request resolved: https://github.com/facebook/react/pull/30811
Changed paths1 file
First-parent comparisoncompiler/packages/babel-plugin-react-compiler/src/Inference/AnalyseFunctions.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…