How to Remove Previous Screen From Navigation Stack in React Navigation

preview_player
Показать описание

In this video you will learn how to remove previous screen from then navigation stack inside react native. We are using react navigation to navigate inside our react native project and now we want to remove the previous screen from the navigation stack.

BTW if you don't know then in this video series we are making a full stack app using Node and React Native you can check out the link below to see the entire playlist.

Want to learn how to setup navigation inside ReactNative

Buy me a coffee

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

I love u bhaiya i love u bro u solved my problem

Vivek-pandey
Автор

Hey bro i have a problem please give reply:
When i switch to another appfrom my rn app after it when i swith my rn app then it will crash please help

latestDil
Автор

Where did you take the fetchAPI function and the useEffect function that was in your App.js file before the navigation screens?

harrismundia
Автор

Nice tut Niraj! what if I have walkthrough screens after login then dashboard. So the flow is like this: LOGIN --> WALKTHROUGH --> DASHBOARD .... but when I come to dashboard after login I can go back to walkthrought and all the way back to login which is illogical ... I tried navigation.reset but it closes the app without any error log after walkthrough ... Any suggestion?

imomer
Автор

Hi Niraj, thanks you so much for your sharing. May i have a question is that, whether or not i will need to authenticate on back end when i already authenticate stuffs on the front end with fromik, yup and stuffs? Gracefully looking for your response

tekashinakamura
Автор

Error: Got an invalid value for 'component' prop for the screen 'AppForm'. It must be a valid React Component. why?

nakiboy
visit shbcf.ru