Throwing together a screen is easy but as your product grows, business requirements and team members change, maintaining correct functionality in real-life scenarios can be challenging. Test maintenance costs rise with ever more mocks and abstractions. The proposed state machine implementation makes fragile mutable state explicit, easy to understand, to change, and to test.
Presented as a 5 min lightning talk @ App Builders 2019.
Read more at github.com/trafi/states