28 items
Fixing useNavigation Import
Native Stack vs JS Stack Navigator
Creating a Bottom Tab Navigator
Hardware Back Button Handling
Nesting Stack Inside Tabs
Resetting Navigation State
Setting Screen Options
Navigating to Nested Screen
Modal Presentation with Stack
Going Back with goBack
push vs navigate Behavior
TypeScript Typing for Params
Reading Route Params
Custom Header Right Button
Defining Screens with Stack.Screen
replace vs navigate
Creating a Drawer Navigator
Dynamic Header with setOptions
Creating a Stack Navigator
Navigating Between Screens
Passing Params Back to Previous Screen
NavigationContainer Root Wrapper
Using the useRoute Hook
Handling Focus with useFocusEffect
Customizing Tab Icons and Labels
Passing Params to a Route
Configuring Initial Route
Installing React Navigation Dependencies
Spot the mistake in how params are passed during navigation.
navigation.navigate('Details', itemId, 42); // Details screen tries to read route.params.itemId
What is the bug in this code?