You know, before Redux came out I had this idea in my head that the switch
statement wasn't great. I don't think I was alone in thinking that either. I was
under the impression that it was "preferred" or "best practice" to use object
literals instead. For whatever reason, Redux seems to have repopularized switch
for better or worse.
Old habits die hard. While reading through the tire icon util, I couldn't help
but think all these switch statements could be replaced by simple object