mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
7 lines
181 B
JavaScript
7 lines
181 B
JavaScript
// We should codegen nested optional properties correctly
|
|
// (i.e. placing `?` in the correct PropertyLoad)
|
|
function Component(props) {
|
|
let x = foo(props.a?.b.c.d);
|
|
return x;
|
|
}
|