What is the purpose of the Switch Navigator in React Navigation?
The Switch Navigator in React Navigation is used to conditionally navigate between different stacks based on authentication status or other conditions. It allows you to switch between different navigation flows in your app, such as authenticated and unauthenticated routes.