5 comments

[ 3.0 ms ] story [ 17.2 ms ] thread
I don't know for Reatjs but you can be shorter with jQuery : http://jsbin.com/pumocohiyu/1/edit?html,css,js,output
What I wanted to point out is that the complexity of the algorithm YOU choose is not a good basis to compare libraries on.
Exactly. Testability, ability to render on server and overall readability and a slew of other points make for a good basis.
It pretty much comes down to imperative vs declarative thinking.