Re:Angular 2 is terrible
by alanz1223 on Thursday December 01, 2016 @06:52PM
(#13084733)
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.
[ Parent
| on HN ]
Re:Angular 2 is terrible
by carsongross on Thursday December 01, 2016 @07:26PM
(#13084947)
"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?
Re:Angular 2 is terrible
by NikolaeVarius on Thursday December 01, 2016 @07:24PM
(#13084939)
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?
Re:Angular 2 is terrible
by OhSoHumble on Thursday December 01, 2016 @07:55PM
(#13085078)
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.
Re:Angular 2 is terrible
by throwwatgku on Thursday December 01, 2016 @09:55PM
(#13085605)
Of all the comments I think this sums everything up the most effectively.
Re:Angular 2 is terrible
by Waterluvian on Thursday December 01, 2016 @10:17PM
(#13085701)
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.
Re:Angular 2 is terrible
by bradmwalker on Thursday December 01, 2016 @08:03PM
(#13085125)
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?
Re:Angular 2 is terrible
by carsongross on Thursday December 01, 2016 @09:07PM
(#13085380)
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
Re:Angular 2 is terrible
by FrancoDiaz on Thursday December 01, 2016 @09:43PM
(#13085534)
You don't need redux to build anything serious. There's Mobx.