Question · React Native course · Module 3: Navigation
navigate vs push
What is the difference between navigation.navigate() and navigation.push()?
Answer options
- There is no difference
- navigate only adds the screen if you are not already on it (otherwise it does nothing), push always adds a new one
- push is faster
- navigate only works in Tab Navigator
You can check the correct answer by solving this task in the CodeWorlds game.