Top "React-navigation" questions

An easy-to-use navigation solution to be used across React and React Native projects

Hide header in stack navigator React navigation

I'm trying to switch screen using both stack and tab navigator. const MainNavigation = StackNavigator({ otp: { screen: OTPlogin }, otpverify: { screen: OTPverification}, …

javascript react-native react-navigation expo
Disable back button in react navigation

I'm using react native navigation (react-navigation) StackNavigator. it starts from the Login page throughout the whole lifecycle of the app. …

reactjs react-native navigation react-navigation
React navigation goBack() and update parent state

I've a page that will render the user's name if s/he is logged in or "Create an account" or "…

react-native react-navigation
Resetting the navigation stack for the home screen (React Navigation and React Native)

I've got a problem with the navigation of React Navigation and React Native. It is about resetting navigation and returning …

javascript react-native navigation react-navigation
How to Pass Parameters to screen in StackNavigator?

My React Native code: import React, { Component } from 'react'; import { AppRegistry, ActivityIndicator, StyleSheet, ListView, Text, Button, TouchableHighlight, View } from 'react-native'; …

react-native react-navigation
Getting undefined is not an object evaluating _this.props.navigation

I'm using DrawerNavigator and I have 3 pages: Router page, mainScreen and a photos page, I maked a header navbar area …

react-native react-navigation
React Navigation back() and goBack() not working

I'm trying to go back two screens. The goal is to go from EditPage to Cover. Here is my navigation …

react-native react-navigation
React-Navigation with Login Screen

I am trying to use react-navigation to create a initial LOGIN screen which has no tabbar and header, and once …

react-native react-navigation
How to get current route name in react-navigation?

I want the name of the current route or screen in react-navigation which I want to use inside if condition …

android ios react-native react-navigation
Change app background color in React Native

I'm trying to change the color of the background in my react native app, from grey to white. I'm using …

react-native react-navigation styling