I am using react-navigation. I am passing propsfrom a react-native component to the modal from react-navigation which is opened on a tap.  export default class SomeComp extends Component { ...  render() {     const { navigate } = this.props;     re...
I have some issue when navigating from top Tabnavigator to other screens  so my app navigation is      My Orders Screen from Drawer => Top TabNavigatore (Accepted/Completed) => Order Details   In Route.js  I put every single navigation I want l...
I am looking desperately for a possibility to check if a previous screen exists in ReactNavigation.   Using this.props.navigation.goBack() returns false if no previous route exists, but I can not use it because if a previous route exists I get redire...
Suppose I have two screens:   Screen A Screen B   I am initially landed on Screen A. When I click on a Button I navigate to Screen B. When I press Back Button, I am again navigated to Screen A.  I want to call an action creator when I am navigated to...
Header title seems to not work as expected.  I already updated react-native and all other dependencies to their latest version and reviewed react-navigation documentation. Also I created a bug on github for this item.  Can you please take a look if I...
I have just implemented an Auth stack and having an issue with my TabNavigator - when I click my second "Favourites" tab which is in my tab navigator and referenced the MainNavigator within my switch I get the message There is no route named...
I've been trying to get up and running with react navigation but I run into a problem when I try to move navigation items into their own components.  HomeScreen.js  import React, { Component } from 'react';  import {   StyleSheet,   View,...
Hello Guys,  I have some issue with React navigation V3, In my app, I have an Authentication step to Entering to Home Screen and it doesn't have a Drawer Navigation as a default, it will be Stack Navigator      Splash => Sign-up => Sign-in...
I have update password function inside ScreenPassword, but I want to update password by tapping Save button on screen header.  NavSettings.js  const routeConfigs = {     Password: {         screen: ScreenPassword,         navigationOptions: {...
So I've been follow this tutorial and adapting for what I need.  I've checked the other answer but can't quite make out what I'm missing?  For the search engines, the error is: undefined is not an object, router, getStateForAction...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.