dillon1000/react

Commit

[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
Browse files
Changed paths1 file
First-parent comparison
M compiler/packages/babel-plugin-react-compiler/src/Inference/AnalyseFunctions.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…