Whenever you're ready, walk me through how you'd approach this.
How do you manage state effectively in a large-scale React Native application? Discuss how you would separate server state, shared client state, and local UI state, choose appropriate tools, control re-renders, handle persistence and logout, and keep state predictable as the application grows. Keep the answer focused on React Native with JavaScript or TypeScript and commonly used state-management libraries.