Skip to main content

All Questions

0 votes
2 answers
478 views

React-Navigation-V6: Getting the Title of the currently selected screen

I'm using react-navigation-v6 and Drawer Navigator. <Drawer.Screen name="Screen1" component={MainScreen} options={{ headerShown: true, title: &...
AndrewHoover898's user avatar
0 votes
1 answer
603 views

Trigger an analytics event when user see specific screen

DESCRIPTION I have an app that should trigger an analytics event just once at a specific screen when a component is shown to the user. i.e: if the user open the application and land to home screen and ...
Jeisson Alfonso Olarte Hernnde's user avatar
-1 votes
1 answer
298 views

React Navigation conditional rendering still rendering old screen [closed]

I'm working on a react native app. When a user isn't logged in I want them to go to the login page, and if they're logged in they can continue to the main app. I'm using react-redux so I can modify ...
Ben Schoenfeldt's user avatar
0 votes
2 answers
630 views

addListeners() not working correctly in a screen is inside a tab that's nested in a stack React Navigation

I am using React Navigation library for my application with the following structure: const RootStack = createNativeStackNavigator<RootTabParamList>(); <NavigationContainer theme={...
PhucPT's user avatar
  • 15
1 vote
1 answer
183 views

How to remove data from Flatlist using deleted icon in react native

function Three({ navigation, route }) { const Data = [ { id: route.params.paramKey, name: route.params.paramKey1, note: route.params.paramKey2, ...
user avatar
0 votes
1 answer
785 views

How to add Background Image to BottomTabNavigator in React Native

Is there a way to add a Background Image to the bottom navigation bar I tried using tab bar component but it did not help. The code that I am using is //Navigation Options <Tab.Navigator ...
Ashok Naik's user avatar
0 votes
0 answers
248 views

How to avoid undisplayed screens to re-render in react-native?

In an react-native app, using react-navigation, screens that have been displayed stay mounted (which is normal with react-navigation). But many of screens consume redux store data. And when I update ...
Emilien's user avatar
0 votes
2 answers
201 views

how to use react native login screen not working

I am trying to use npm i react-native-login-screen but it is not working. When I start typing password or email the keyboard disappears, this error occurs only when I try to handle password or email ...
Mohammed HAjji's user avatar
0 votes
0 answers
55 views

react navigation unwanted render

i'm using bottom tab bar and one tab has a badge. it's a basket and bagde show the how many product in it. when i update the basket qty with redux it renders all navigation. how do i prevent it ? this ...
yasin demir's user avatar
0 votes
3 answers
1k views

how to install all react-navigation package

I'm a beginner in coding which means i follow tutorials from youtube. The project that i'm making is an Uber Clone. When I tried to install: expo install react-native-gesture-handler react-native-...
ZamZam's user avatar
  • 43
1 vote
2 answers
1k views

How to install react navigation?

I'm a beginner in coding which means i follow tutorials from youtube. The project that i'm making uses react-navigation/native, but when i tried to install it, it gives me this error: npm ...
ZamZam's user avatar
  • 43
2 votes
1 answer
184 views

Navigate from inner navigator to outer navigator generate extra screen slide

I have a problem during the logout in my react native app. I set many navigators to handle multiple navigation flow, but when I try to logout from the app, the login screen appears two times. I try to ...
R. Milos's user avatar
  • 123
2 votes
0 answers
71 views

Why my state on my redux toolkit reset itself to the old state?

Currently I'am working on my authentication flow of react native navigation. Right now I'am already done setup my state management and the login module part. Now the problem is when I console log my ...
DevGe's user avatar
  • 1,459
1 vote
1 answer
64 views

Can't perform a React state update on an unmounted component. when updating redux state - react native

When i try to navigate while updating redux state in react native the warning appears, if i comment props.setLocation(selected_location); the warning disapear. i tried giving settimeout to the ...
Jeesmon Joy's user avatar
0 votes
0 answers
264 views

React Native Navigation Auth Flow

I am building Simple Auth application React Navigation 6 and Redux. Issue is that React.createRef() don't work if I used it on non auth stack. In my Stack.Navigator Stacks are differentiated like this ...
DIGITAL JEDI's user avatar
  • 1,666

15 30 50 per page
1
2 3 4 5
21