dillon1000/react

Commit

Repro for memoized hook within logical expression

Repro of a bug in which we incorrect memoize hook calls that are inside logical 
expressions (though the bug could occur for ternaries, optional calls, and 
sequence expressions too).
Browse files
Changed paths2 files
First-parent comparison
A compiler/forget/src/__tests__/fixtures/compiler/hook-inside-logical-expression.expect.md AddedA compiler/forget/src/__tests__/fixtures/compiler/hook-inside-logical-expression.js Added
Patch

Files changed

Rendering syntax-highlighted changes…