Component - Navigation state persistence
This UI component shows how a React Native app keeps track of which screen the user last visited. When the app closes and opens again, it remembers the last screen and shows it instead of starting from the first screen. This is called navigation state persistence.