dillon1000/react
Commit
Browse files Add test for function deps not treated as conditional
In the test, unconditionally reading props.bar.length will throw when props.bar is null.
Changed paths2 files
First-parent comparisoncompiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/functionexpr–conditional-access.expect.md AddedA compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/functionexpr–conditional-access.js AddedPatch
Files changed
Rendering syntax-highlighted changes…