Hacker News new | ask | show | jobs
by alanz1223 3489 days ago
Well in that note React sucks too... Yeah I said it. Lots of dependencies, complicated bootstrap process, too many abstract concepts, and if youre using redux which is necessary if youre planning to build anything serious, you need to edit like 10 files just to add a new feature.
8 comments

"Current front-end development is the equivalent of the J2EE debacle, but with better logos and more attractive people."
> if youre planning to build anything serious, you need to edit like 10 files just to add a new feature.

So it's enterprise grade?

Enterprise grade tends to be complicated because they're BIG and has lots of parts because there are tons of features

With react, have you seen the starter kits? It's like 400mb of dependencies for a starter project that pretty much displays hello world with a interactive button

> Enterprise grade tends to be complicated because they're BIG.

In practice I find it's just because enterprise software is over architected and poorly generalized. With react native I couldn't get hello world to work, maybe I needed to hire a consultant?

I came across the React equivalent for MEAN and my mind was blown when I generated a project with it.

The level of complexity was completely staggering. I was floored.

Well theyre not entryprise grade.
Javascript sucks.
Of all the comments I think this sums everything up the most effectively.
There's crappy things about React but one thing I like about it is that if you know JavaScript and HTML, you know the syntax for React and JSX.

Like you can pretty much write what you would expect to write as plain HTML and it'll work.

React-redux templates have taken concern sharting, splitting domain concepts across several files named after $framework's concepts, to an extreme. The namespace babysitting is unpleasant, too. What technically justifies this?
Fear of being seen to be insufficiently cutting edge.
The compile process is complicated but more because of ES6/ES7 than React and JSX. Everyone wants to use ES6/ES7 which isn't fully supported yet by all browsers. And yes there are a lot of dependencies for a typical project but again that is not really React's fault. React is a view library so you need a bunch of other crap to make something useful. What you say about Redux is spot on.
Simple is not easy
You don't need redux to build anything serious. There's Mobx.