()
| 100 | } |
| 101 | |
| 102 | function Stateful() { |
| 103 | const [state, setState] = useState(false); |
| 104 | set = setState; |
| 105 | return ( |
| 106 | <div> |
| 107 | <Child /> |
| 108 | {state && <Child />} |
| 109 | </div> |
| 110 | ); |
| 111 | } |
| 112 | |
| 113 | function Comp() { |
| 114 | const id = useId(); |
nothing calls this directly
no test coverage detected
searching dependent graphs…