dillon1000/react
Commit
Browse files [hir] Add invariant to check if useMemo callback accepts args
Changed paths3 files
First-parent comparisoncompiler/forget/src/Inference/InlineUseMemo.ts ModifiedA compiler/forget/src/__tests__/fixtures/compiler/error.useMemo-callback-args.expect.md AddedA compiler/forget/src/__tests__/fixtures/compiler/error.useMemo-callback-args.js AddedPatch
Files changed
Rendering syntax-highlighted changes…