How do you navigate to a different screen using React Navigation?
You navigate to a different screen using React Navigation by using the navigate() function provided by the navigation prop. This function allows you to specify the name of the screen you want to navigate to.