Most voted "react-navigation" questions
67 questions
Sort by count of
-
-1
votes1
answer689
viewsNavigate between different batteries in React Native with React-navigation
Objective: Navigate the screen Loginscreen screen Mainscreen Route code in Routes.js: const AuthenticationNavigator = createStackNavigator({ Login: { screen: LoginScreen, navigationOptions: { title:…
-
-1
votes2
answers904
viewsStyling the page header with createAppContainer and createMaterialTopTabNavigator
Good evening guys, I’m having trouble with header stylization, because I created a main screen and I believed in it and imported the tabs. In this same file I call 3 screen tabs (business, contact,…
-
-1
votes1
answer2942
views(React Native) Typeerror: Undefined is not an Object (evaluating '_this.props.navigation')
I can’t fix this mistake.. someone help me I click the button to go to another page and it appears.. follows the code: [This is the code of the menu component, it has a list of buttons with this…
javascript react react-native react-navigation react-routerasked 4 years, 9 months ago miguelrisquelme 9 -
-1
votes1
answer401
viewsAccess another navigation page using nested navigation
I am trying to access a page, in React-Native, which is on another route and is occurring the following error: "The action 'NAVIGATE' with payload…
-
-1
votes1
answer71
viewsDispatch Drawer does not work
am trying to implement a Drawer in my app. As I want only in one of my screens. While trying to implement, I felt some difficulties. So I did step by step not to get lost. I created a button and I…
-
-1
votes1
answer424
viewsProblem when placing a Stacknavigator inside the Drawernavigator
I have a problem when creating a browser Stack on the screen Home. I put a button and wanted you to navigate to the other screen "Map". But it gives this error when opening the program: Creating a…
-
-1
votes1
answer1296
viewsHow to switch from one page to another in React Native
Eae guys, I’m starting in React Native, and I’m developing an App, for my TCC, this app is about Soccer Players, and it has a screen that appears a list of these players, and I put a button…
-
-1
votes1
answer417
viewsCheck User login React Navigation
In the React Navigation 5 no longer exists the Switch Navigator. In Upgrading Doc the proposed solution to prevent the user from going back to the login screen is this if ternary that checks if the…
-
-1
votes1
answer98
viewsI can’t navigate routes of different Stacks with React navigation
I have 3 files of routes. It contains the routes that the user can access without having to be logged in, in my case only the signin screen. import React from 'react'; import { createStackNavigator…
-
-1
votes1
answer119
viewsI cannot render elements dynamically using foreach
I wonder if you have how to render the component Drawer.Screen inside Drawer.Navigator, dynamically. I tried to put the components in an array (materias/index.js) and traverse them with .forEach(),…
-
-1
votes1
answer28
viewsAlert when trying to use Drawer Navigation
I ask that friends try to do the following. Start an React Native project (here I am using version 0.64.1), install the suggested dependencies for using React Navigation (here I am using version…
react-navigationasked 3 years, 5 months ago Bruno Nobre 75 -
-1
votes0
answers23
viewsChange parameter in API call with Reactjs
I’m using Axios to consume an API and create a personal project. endpoint is this: https://www.freetogame.com/api/games I added a "Learn more" button where I would redirect to a "page" where there…
-
-2
votes2
answers335
viewsValidate fields in React
I have some input fields, both are set to states. I would like to make sure that you only allow clicking on the button if these fields are filled in. Obs:. I am Using Hooks const [ name, setName ] =…
-
-2
votes2
answers107
viewsError in searching collection points
Last week I followed Next Level Week, which brought the idea of creating a system for Mobile and Web, the web part I was able to do, all according to the video. but I have a problem so far in the…
-
-2
votes1
answer183
viewsProblems to render on screen in React Native
I’m having trouble putting on the screen a simple "main page" what’s wrong with the code? (no error appears in the console) main.js file import React, { Component } from 'react' import { View, Text…
-
-2
votes1
answer251
viewsPass parameter to Tab.Screen component
How to pass parameters to the Tab Screen component? Fiche/index.js: import Historico from './Historico'; export default function Ficha({ route, navigation }) { const { periodo } = route.params; //…
-
-2
votes0
answers14
viewsSpecified route configuration error using Fuse React Maximum update Depth exceeded:
I am using the Fuse template for React and need to configure private routes for each specific user profile, following the documentation I set my route file by placing the path parameter and the…