The (Switch)-Case for State Machines in User Interfaces
2 Comments
Comments are ordered by helpfulness, as indicated by you. Help us pick out the gems and discourage asshattery by voting on notable comments.
Got something to add? You can leave a comment below.
Robert E Fauver
Rob Simpson
Hey, awesome article. A lot of information that I plan on putting into my notes for future use. Can you explain from your code where the ‘machine’ binding comes from in the transition? The rest of the code makes sense, I just don’t follow that one part of the transition fn. Thank you for the content.
Great article! I think that creating code to effectively communicate the flow is a beautiful idea.