Stack Navigator: Basic Setup | Master React Navigation v5

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

It was push all along!!! thank you so much

kenducs
Автор

This was very helpful and straightforward, thanks!

soyhenryxyz
Автор

hmmm for me the API doensn't show anymore, after I implemented navigation in my project, any idea? :/

Merlinke
Автор

I am getting the following error what should I do to resolve this:
Error:null is not an object (evaluating
home.js file:
import { createStackNavigator } from 'react-navigation-stack';
import { createAppContainer } from 'react-navigation';
import Login from '../src/pages/Login';
import ReviewDetails from

const screens={

Login:{
screen: Login
},
ReviewDetails:{
screen: ReviewDetails
}
}

const HomeStack =

export default

These are the dependencies in package.json. Kidnly help.

"dependencies": {
"react": "16.11.0",
"react-native": "0.62.2",
"^1.6.1",
"react-native-reanimated": "^1.8.0",
"^0.7.3",
"react-native-screens": "^2.5.0",
"react-navigation": "^4.3.8",
"react-navigation-stack": "^2.3.13"
},

chintanbhuta
welcome to shbcf.ru