Skip to content

24 ways to impress your friends

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.

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.

Impress us

Be friendly / use Textile