dillon1000/react

Commit

Add test for function deps not treated as conditional

In the test, unconditionally reading props.bar.length will throw when props.bar 
is null.
Browse files
Changed paths2 files
First-parent comparison
A compiler/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 Added
Patch

Files changed

Rendering syntax-highlighted changes…