dillon1000/react
Commit
Browse files [hir] Add a DropMemoCall pass
This drops the memo hook calls from the IR
Changed paths8 files
First-parent comparisoncompiler/forget/src/CompilerPipeline.ts ModifiedM compiler/forget/src/HIR/HIR.ts ModifiedA compiler/forget/src/Inference/DropMemoCalls.ts AddedM compiler/forget/src/Inference/index.ts ModifiedA compiler/forget/src/__tests__/fixtures/hir/use-callback-simple.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/use-callback-simple.js AddedA compiler/forget/src/__tests__/fixtures/hir/useMemo-simple.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/useMemo-simple.js AddedPatch
Files changed
Rendering syntax-highlighted changes…