r/javascript • • Aug 27 '15

Stop Using React for EVERYTHING!

https://medium.com/@zackargyle/stop-using-react-for-everything-c8297ac1a644
3 Upvotes

131 comments sorted by

View all comments

24

u/greim Aug 27 '15

To paraphrase:

React is a solid framework, meshes well with the latest ES6 features, promotes good modularity, and all the smartest devs are raving about it, but I'm tired of hearing about it, because JSX something something and I'm more used to using these other tools.

I agree react can be overkill for simpler websites, though. That would be one valid takeaway from this article.

5

u/defcon-12 Aug 28 '15 edited Aug 28 '15

I agree react can be overkill for simpler websites

Why? The best part of React is that it's dead simple. The entire public API consists of about 10 functions, it seems perfect for a simple site to me.

I can't think of a simpler "framework" than React (from a consumer's perspective at least), and dealing directly with the DOM via "plain js" is a massively larger and more complicated API.

I guess it's not the best route if you're doing "progressive enhancement" type work, but if you're creating a javascript client, then React is just about as simple as it gets.

3

u/nschubach Aug 28 '15

Agreed. And if you turn that simple website into something more down the line, it's that much further along. React isn't a killer to download or run... why not use it?

-3

u/YoureAnUglyCunt Aug 28 '15

Because it's cpu intensive and inefficient you fucking nitwits.