Let鈥檚 practice with nesting navigation and transitions between screens
The App component should only return a navigation container with a stacked navigator.
There should be three screens in the stack - the first with the name Product, the second with the name Comments, the third with the name Analogues....
Let鈥檚 work on the navigation buttons of the Product screen.
Pressing the first button should take the user to the Comments screen.
Pressing the second button should take the user to the Analogues screen....
Let鈥檚 work on the Analogues screen navigation buttons.
Pressing the first button should take the user to the previous screen.
Use the goBack method for this.
Pressing the second button should take the user to the Comments screen....
Let鈥檚 work on the navigation buttons of the Comments screen.
Pressing the first button should take the user to the previous screen.
Use the goBack method for this.
Pressing the second button should take the user to the initial stack screen....
This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you鈥檝e already solved the task...
Let鈥檚 practice passing parameters when changing screens.
The App component should only return a navigation container with a stacked navigator.
There should be two screens in the stack - the first with the name Games, the second with the name Details....
Clicking on any TouchableOpacity element on the GamesList screen should jump to Details.
During the transition, the entire object describing the game (item) must be passed to the Details screen....
A navigator with two screens has already been added to the <App /> component.
But on the first screen, we don鈥檛 need a header at all - let鈥檚 hide it....
A navigator with two screens has already been added to the <App /> component.
But on the first screen, we don鈥檛 need a header at all - let鈥檚 hide it....
Let鈥檚 practice turning on tab navigation.
The App component must return a navigation container with a tab navigator.
There should two screens in the navigator.
First screen should be named USA, second - Canada....