David Khourshid explains that UI views can be described with state machines and shows the few necessary line of codes to make it work in React. He also points out the benefits of using this solution when it comes to document how the system work and communicating with other people.