dillon1000/react
Commit
Browse files Support method call when validating useEffect
Treat MethodCall similarly to CallExpression when validation useEffect
Changed paths3 files
First-parent comparisoncompiler/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 AddedPatch
Files changed
Rendering syntax-highlighted changes…