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