()
| 2 | import { Button } from 'react-native' |
| 3 | |
| 4 | export default function App() { |
| 5 | const [count, setCount] = useState(0) |
| 6 | |
| 7 | useEffect(() => { |
| 8 | console.log('Incremented!') |
| 9 | }) |
| 10 | |
| 11 | return ( |
| 12 | <Button |
| 13 | title={`Increment ${count}`} |
| 14 | onPress={() => { |
| 15 | setCount(count + 1) |
| 16 | }} |
nothing calls this directly
no outgoing calls
no test coverage detected