mirror of
https://github.com/facebook/react.git
synced 2026-02-26 07:55:55 +00:00
13 lines
177 B
JavaScript
13 lines
177 B
JavaScript
function Component(props) {
|
|
let x = [];
|
|
x.push(props.p0);
|
|
let y = x;
|
|
|
|
x = [];
|
|
let _ = <Component x={x} />;
|
|
|
|
y.push(props.p1);
|
|
|
|
return <Component x={x} y={y} />;
|
|
}
|