dillon1000/react
Commit
Browse files [compiler] Support default imports for autodep config (#31657)
## Summary Allows us to add deps for things like `import useWrapperEffect from 'useWrapperEffect'` --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/31657). * __->__ #31657 * #31652
Changed paths7 files
First-parent comparisoncompiler/packages/babel-plugin-react-compiler/src/HIR/Environment.ts ModifiedM compiler/packages/babel-plugin-react-compiler/src/Inference/InferEffectDependencies.ts ModifiedM compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/infer-effect-dependencies.expect.md ModifiedM compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/infer-effect-dependencies.js ModifiedM compiler/packages/snap/src/compiler.ts ModifiedA compiler/packages/snap/src/sprout/useEffectWrapper.ts AddedM compiler/packages/snap/src/types.d.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…