React Navigation 6 Tutorial - Tab, Stack, Nested Navigators

preview_player
Показать описание
In this tutorial, you will learn how react native stack, tab navigator and how navigation between screens work by implementing in TypeScript a simple e-commerce app.

React Native Navigation v6 provides a Stack Navigator (Stack Navigation) which is a way for your app to transition between screens where each new screen is placed on top of a stack.

Possibly the most common style of navigation in mobile apps is tab-based navigation (tab navigator). This can be tabs on the bottom of the screen or on the top below the header (or even instead of a header)

Nesting navigators means rendering a navigator inside a screen of another navigator

----------------------------------------------------------

Installation:
--- expo init react-native-navigation-app --npm
--- cd react-native-navigation-app
--- npm run android
--- npm install @react-navigation/native
--- expo install react-native-screens react-native-safe-area-context
--- npm install @react-navigation/native-stack
--- npm install @react-navigation/bottom-tabs

Resources:
Рекомендации по теме
Комментарии
Автор

adam adam yemin ederim insan değil melek. thx so much bro

ejdatertas
Автор

You just solved a Typescript issue for me that was driving me crazy. Thanks!!

JonnyIrwin
Автор

this video helped me a lot. thanks for this content.

AnisurRahman-nbke
Автор

Helping me to understand RN navigation a lot Thank you sooo much !

pikka
Автор

thanks for such an excellent tutorial. I have a question about the integration of different navigations, how could I pass data from one navigation to another?

juanzapata
Автор

Hi!
Trying to code along with your video. @10:30 I get this error: "Error: Looks like you have nested a 'NavigationContainer' inside another"
FYI, I´m not using TypeScript
please help me
Thanks in advance
//Peter

plelkes
Автор

Hello, I am a senior student majoring in computer science. I am making my graduation project. My topic is React Native. I am Chinese, so it is difficult to read official English documents. I had a problem with React Navigation. It bothered me all day and I couldn't find a solution. May I ask you to help me?

kaesarliu
Автор

I'm building a mobile app right now and this helped me greatly, thank you

mattybobatty