dillon1000/react

Commit

Support useMemo w named functions

Supports useMemo invocations where the function is not an inline function, such 
as `useMemo(someFunction, [])`.
Browse files
Changed paths3 files
First-parent comparison
M compiler/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 Added
Patch

Files changed

Rendering syntax-highlighted changes…