r/webdev • • Jul 11 '16

React.JS or Angular.JS ?

http://www.discoversdk.com/compare/react-vs-angularjs#/product-comparisons
11 Upvotes

32 comments sorted by

View all comments

3

u/Gnashe Jul 11 '16

Interesting article. I like the tone of it. A lot of people are just going to read the title and not the article and get mad though.

However, for any newer person reading the comments, I would say to you, please first read the article, then please also consider Ember.js

The community is great, the cli is great, and it favors convention so as you move from shop to shop you can feel comfortable sitting down at a new codebase.

3

u/otherstark Jul 11 '16

I recall seeing this graph on performance of several frameworks - Ember was by far the worst: http://www.stefankrause.net/js-frameworks-benchmark2/webdriver-java/table.html

2

u/Gnashe Jul 11 '16

This is a good point. That is definitely an area Ember struggles in.

However, my original positive points still stand. All about balancing what your stack does for you to fit your needs. If it was all about performance over convention/modularity/opinions then we would all be using vanilla js in all our projects.

1

u/mattaugamer expert Jul 12 '16

Benchmarks need to be taken as only a small piece of a decision making process. How many projects actually need to display 10,000 rows? If your project requires extremely large data sets and an extremely large interface changing thousands of times... Sure you might be better off with something else. But I've never in my life built an interface with any such requirements, and I doubt most developers have either. If you're optimising for these extremes it's at best premature optimisation.

I'm not saying these benchmarks are nothing. Core devs in frameworks will be looking at numbers like this and trying to see where they can make improvements. I know Ember is - Glimmer 2 is already in progress, and has performance close to or higher than React in a lot of areas.

But from a developer point of view, there are a lot of things I value more highly in a framework than raw numbers.

1

u/mattaugamer expert Jul 12 '16

Yeah, I'd second this. Ember is an amazing way to build SPAs. Great tooling, great ecosystem.

0

u/siamthailand Jul 11 '16

Ember? What year is it?

1

u/mattaugamer expert Jul 12 '16

Ember has a lot of features that other frameworks are yet to catch up with or only doing so now, such as a highly functional CLI.