dillon1000/react

Commit

Support method call when validating useEffect

Treat MethodCall similarly to CallExpression when validation useEffect
Browse files
Changed paths3 files
First-parent comparison
M compiler/packages/babel-plugin-react-forget/src/Inference/InferReferenceEffects.ts ModifiedA compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/useEffect-method-call.expect.md AddedA compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/useEffect-method-call.js Added
Patch

Files changed

Rendering syntax-highlighted changes…