by timdorr · 10y ago · 0 comments
It's basically idiomatic JS vs idiomatic React/JSX.
Edit: To the idiomatic point. The first thing that struct me when using React, was that instead of having to use a custom Component for a for loop I could just use someArray.map(). I see this as a similar situation.