State‑Driven Navigation for Scalable Mobile Apps
Disclaimer: I'm still learning this topic! Benefits Following SOLID principles, if you have a navigation object that is solely driven by a state machine and does nothing but navigation then you gain the following benefits: Developers get to read a class and readily get an x-ray view of the codebases’s architecture and user navigation. Be like “for a given state, based on user’s account information and user interaction, I know which view to push to”....