top | item 14172267

(no title)

autoreleasepool | 8 years ago

Regardless of these complaints, the job market for React is just too damn good to ignore. I bit the bullet and began learning. As a newbie, I understand the sentiment of this article. However, it's really not as bad as the author makes it out to be.

Also, className instead of class took all of 3 seconds to learn.

discuss

order

AndrewNCarr|8 years ago

className is a small inconvenience when porting over an existing app to react (e.g. pasting in existing html), as is the requirement for style parameters to be objects. className is a quick find replace, but style is a more lengthy transpose process.

These are small frictions, but in the same way that every ounce/gram counts to a hiker, minimizing process frictions makes a big difference in productivity during times you already have a high cognitive load.

xyos|8 years ago

Also `class` is a reserved word in JavaScript, author doesn't even notice this.

tpaksoy|8 years ago

As mentioned in other comments, I don't have this issue of not being able to use `class` in Vue. So it can be done better.