Posts by Aroldo Goulart • 1 point
1 post
-
0
votes2
answers21
viewsA: Backhandler does not work
You can abstract into something similar: const onBackPress = useCallback( () => { if(isFocused){ navigation.goBack(); return true } return false }, [isFocused], ) useEffect(() => {…