paint-brush
A Guide for Building Apps with Nested Stacks by@saurabh-kataria
325 reads
325 reads

A Guide for Building Apps with Nested Stacks

by Saurabh KatariaJanuary 2nd, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

A Guide for Building Apps with Nested Stacks is written by MVPbuddy. The idea is to nest different navigators on top of a stack of screens. By providing an initialRouteName, you can route the navigation flow based on the screen name. You can stack any number of screens in stack-navigator. For example, for all logged-in users, the initialRoute name can be set to ‘Home-Screen’ programmatically. For the users, who haven’t interacted yet, it can be ‘Splash-Screen'

Coins Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - A Guide for Building Apps with Nested Stacks
Saurabh Kataria HackerNoon profile picture
If you have just started learning react native & devloping screens, you might have gotten stuck or faced some problems when trying to nest different navigators.It happened with me as well & I had to spend much time to understand the right solution or approach. Hopefully, this article might help you save some time.Also, I have created a sample app for this concept, whereby the different navigators are nested (link shared at the last section of this article).

바카라사이트 바카라사이트 온라인바카라