dillon1000/react
Commit
Browse files Repro for false positive in validatePreserveMemoization on non-escaping value
This demonstrates a false positive in validatePreserveExistingManualMemoization. We prune memoization of non-escaping values, but the validation pass just sees that the value "should" have a scope and that scope doesn't exist, and thinks we failed to preserve memoization.
Changed paths2 files
First-parent comparisoncompiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.repro-false-positive-preserve-memoization-nonescaping-value.expect.md AddedA compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.repro-false-positive-preserve-memoization-nonescaping-value.js AddedPatch
Files changed
Rendering syntax-highlighted changes…