dillon1000/react
Commit
Browse files [test] Add test for lambda that conditionally captures ref
Conditionally captured refs are correctly added to dependency list of the lambda.
Changed paths2 files
First-parent comparisoncompiler/forget/src/__tests__/fixtures/hir/capturing-function-conditional-capture-mutate.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/capturing-function-conditional-capture-mutate.js AddedPatch
Files changed
Rendering syntax-highlighted changes…