()
| 542 | }; |
| 543 | |
| 544 | const RenrenderedChild = () => { |
| 545 | const [x, setX] = React.useState(10); |
| 546 | return React.createElement( |
| 547 | "div", |
| 548 | { |
| 549 | style: "color:blue", |
| 550 | }, |
| 551 | React.createElement("button", { |
| 552 | innerText: "re-render child" + x, |
| 553 | onclick: () => { |
| 554 | setX(x + 1); |
| 555 | }, |
| 556 | // style: "color: orange", |
| 557 | }) |
| 558 | ); |
| 559 | }; |
| 560 | |
| 561 | const Repro = () => { |
| 562 | const [toggleInner, setToggleInner] = React.useState(true); |
nothing calls this directly
no outgoing calls
no test coverage detected