dillon1000/react
Commit
Browse files Support useMemo w named functions
Supports useMemo invocations where the function is not an inline function, such as `useMemo(someFunction, [])`.
Changed paths3 files
First-parent comparisoncompiler/forget/src/Inference/InlineUseMemo.ts ModifiedA compiler/forget/src/__tests__/fixtures/compiler/useMemo-named-function.expect.md AddedA compiler/forget/src/__tests__/fixtures/compiler/useMemo-named-function.js AddedPatch
Files changed
Rendering syntax-highlighted changes…