Update 15th June 2019
A number of changes to XState have occurred since writing this article. An updated version of a sign-in form using React & XState can be found here.
To make a sign in form with good UX requires UI state management, meaning we’d like to minimize the cognitive load to complete it and reduce the number of required user actions while making an intuitive experience. Think about it: even a relatively simple email and password sign … Read article