When building a website using React Native. You want to ensure that when a user presses the back button, the browser pops the item from the top of the history stack, so the active page is the previously visited page.
How can this be accomplished?
- This can be accomplished using the built-in idea of a global history stack like a web browser does.
- This can be accomplished using React Navigation
- Only 1
- Only 2
- Both 1 and 2
- Either 1 or 2