Hacker News new | ask | show | jobs
by lucideer 1798 days ago
I love React. I love the elegance and flexibility of it's architecture, and the power of it's modularity. There are so many really great reasons to use React.

This article is absolute nonsense from start to finish. What amounts to basically "lying" about the complexity of vanilla JS actually ends up mainly just doing a massive disservice to React which shouldn't need false comparisons to show it's benefits.

Maybe they're just being disengenuous but I got the distinct impression from many of the examples that the author doesn't actually know vanilla JS at all.

1 comments

This is the impression I got. The first half of the vanilla example is imperatively creating DOM elements, assigning attributes, and inserting them into an “app” <div>. My guess is the author learned React first and never considered that HTML can be written as (gasp) HTML!