Site also seems faster or am i imagining that?
Also they're using DOM api instead of using the more react standard "ref" attribute
EchoJS rocks :)
I'm going to be "that guy" and say the package name is a bit misleading because as far as I can tell you can't use this library for an actual table.
Here are the problems the author is trying to solve:
* "you need to keep adding the aforementioned break; statement."
* "it's syntax is rather... ugly to say the least."
I disagree with this article. There's nothing wrong with the switch-case statement (or, the author could do a better job at explaining the real issues, if any). There's also nothing wrong with using object literals "lookups", but substituting a simple switch-case statement with a complex object literal + function approach just to replicate the features of a switch-case statement is just silly, imo. The fall-through code is a lot more complicated for me to understand than a traditional switch-case statement. Each to their own.