()
| 149 | }) |
| 150 | |
| 151 | function Mounted() { |
| 152 | const c = useContext(Context) |
| 153 | console.log(c) |
| 154 | return ( |
| 155 | <p |
| 156 | onClick={() => { |
| 157 | c.setCount(c.count + 1) |
| 158 | }} |
| 159 | > |
| 160 | {c.count} |
| 161 | <hr /> |
| 162 | </p> |
| 163 | ) |
| 164 | } |
| 165 | |
| 166 | function App() { |
| 167 | const [state, setState] = useState(1) |
nothing calls this directly
no outgoing calls
no test coverage detected