r/Angular2 • u/[deleted] • Apr 09 '19
Discussion Angular is the second most broadly used framework acccording to Stackoverflow 2019 Survey
17
Apr 09 '19
I saw this come in, I always assumed there was much more interest/usage in/of React based on the results to my SO searches (for Angular).
4
Apr 10 '19 edited Apr 10 '19
Why would you think that?
I have never seen React having more featured/daily questions then Angular.
Go check it now, it's close, but Angular still has more. It's usually a larger margin.
2
Apr 10 '19
I would only think that based off what I’ve seen and we’re both speaking anecdotally anyway. Or at least I am.
The important caveat is that just because it may seem to me that the interest on SO is React leaning doesn’t necessarily mean that it’s used more by professional developers.
If you’ve used Angular (2+) since it’s inception you may have noticed that naturally there were many less use cases already addressed on SO than React for a good bit, disregarding Angular.js questions/answers of course. For the longest I noticed many MERN stack related answers to questions that had not been either asked or answered for the MEAN stack (again Angular not Angular.js). Fortunately there is so much overlap in the technologies that I was able to figure a lot of stuff out by looking at similar React questions.
That’s obviously changed since but perhaps my perception hasn’t caught up.
2
30
u/eigenman Apr 09 '19
Pros love Angular. Jquery is likely a left over.
18
6
u/anonuemus Apr 10 '19
It'll stay there for a while, you can thank wordpress and web designers/theme creators for that.
4
u/sut123 Apr 10 '19
A lot of official implementation documentation is in jQuery, which I will never understand. Case in point, we're implementing Apple Pay at work and we get to decode jQuery in their docs to make it usable.
1
46
u/theadammorganshow Apr 10 '19
Does anyone else think it's a bit unfair to combine two frameworks into one when doing a comparison like this?
9
u/Trakhan Apr 10 '19
Exactly the same thing occured to me. Especially since they are very different.
0
12
u/vimfan Apr 10 '19
Why is it mixing backend frameworks with frontend frameworks? That makes no sense.
6
Apr 10 '19
Most of the backend frameworks have a MVC framework which will serve pages from the backend (razor page, jsp, etc), however, contemporary architecture will use a SPA front end and the backend will generally be REST APIs
2
u/MaxDZ8 Apr 10 '19
Unfortunately, I might add. But after all jquery still being on top tells a lot.
5
u/TheAverageWonder Apr 10 '19
Honestly only in Frontend-land is there an expectation of replacing the entire stack once every few year. For most companies IT system is a huge investment, and is expected to last for decades.
1
u/MaxDZ8 Apr 12 '19
Well, that's probably what the managers like to say. Reality is a bit more complicated. But anyway, that was the point. Slow transition = mixing of frameworks in apparently nonsensical way.
1
u/vimfan Apr 10 '19
I understand all that but it doesn't address my point. I'm saying it makes no sense to mix popularity of backend frameworks such as Django with frontend frameworks such as Angular. Backend and frontend frameworks are complementary, not substitutes for each other. Angular being "nearly 3 times as popular as Django" is a meaningless statistic. It's like saying blue jeans are nearly 3 times as popular as red t-shirts.
1
Apr 11 '19
Yea that’s a solid point and I completely agree. I was just attempting to elaborate on their possible perspective of view options (SPA, razor pages, jsp), even if it was done poorly.
1
5
u/hrnsn123 Apr 10 '19
Here in Germany I see jQuery, Angular, Java EE, Spring, React, ASP.NET/Core in that order.
Could also be this way because dev work is in general more enterprise oriented in Germany.
7
3
6
u/myevillaugh Apr 10 '19
ASP.NET, still going strong. What is dead may never die. ;)
I often miss back end templates. Razor was a great templating language.
10
Apr 10 '19
It's being revived through .NET Core. Check out the "most loved" section in the survey results. In the "other frameworks and tools" category, .NET Core is 1st.
2
u/Notorious21 Apr 10 '19
Probably because .NET Core can run on Linux, MacOS, or windows, and the ORM (entity framework) has a ton of providers supported, making it extremely flexible and much more performant than it's predecessor.
4
u/hrnsn123 Apr 10 '19
Also ASP.NET Core is fast as hell.
https://www.techempower.com/benchmarks/#section=data-r17&hw=ph&test=plaintext
1
u/vintzrrr Apr 10 '19
you're saying that as if it's competitors are unable to do all these things lol
2
8
u/Khyraine Apr 10 '19
I do .net core apis but angular front end. I like both.
2
u/myevillaugh Apr 10 '19
That's what I'll be doing if I get back into full stack. Right now, I'm back end. Every other language I use makes me miss C#.
1
1
0
Apr 10 '19
[deleted]
1
u/Khyraine Apr 10 '19
I actually don't use Razor Components at all. I write my Angular code without using ASP.Net. Sorry I don't have a good answer for you :(
0
Apr 10 '19
[deleted]
3
u/_sasan Apr 10 '19
Blazor and Razor Components are different.
Blazor turns C# code to WebAssembly which runs natively on the browser.
Razor Components use the same Blazor code but it runs it on the server and client gets real-time UI updates via websocket (SignalR) which kind of simulates SPA.
2
1
u/trekmann Apr 10 '19
I Love vuejs, but i can understand why it’s not on top of the list. Behind react and andgular there are big companies ...
1
1
1
u/zmasta94 Apr 10 '19
I think after reading these results I finally took the “React is better than Angular” argument a bit more seriously. I’ve been talking to a lot of React devs recently. I might bite the bullet and try it out properly this week. Not because it really is better - but because I think there is real weight to the argument.
1
u/hrnsn123 Apr 10 '19
I use both. Angular for most applications and React+PhosphorJS to create a web-based editor.
1
u/zybzzc May 16 '19
I really like PhosphorJS, its architecture design and code quality are well worth learning.
7
Apr 10 '19
[removed] — view removed comment
3
u/zmasta94 Apr 10 '19
It’s true, React is a library. But they’re both fundamental tools used to built SPAs. So they can be compared, and it seems a lot of developers and team leads are choosing React.
Agreed totally that neither will solve world hunger. But in all seriousness, there are things to learn from both sides. React solves some problems very well where Angular falls short and vice versa.
4
u/_sasan Apr 10 '19
React solves some problems very well where Angular falls short
Haven't used React but looking forward to learn it. Could you give an example? I'm using Angular with .NET Core and haven't had an unsolvable issue. Pretty happy with the MVVM pattern.
1
Apr 09 '19
Why can't I just choose one? I like them all for different reasons! I want to love Angular tho...
1
u/JayLB Apr 10 '19
Yeah this dataset makes no sense, jQuery is a library not a framework and also we have front end and back end frameworks being compared, apples to oranges to bananas
0
0
0
Apr 10 '19
[deleted]
1
u/Auxx Apr 10 '19
React is a new jQuery.
0
Apr 10 '19
[deleted]
1
u/Endorn Apr 10 '19
React isn’t supposed to be a framework it’s a presentation layer.
0
Apr 10 '19
[deleted]
1
u/Endorn Apr 10 '19
Because react is not limited to SPA. Angular is better for SPA.
We use react to make parts of a page dynamic but not all, and it’s fantastic for that.
0
0
Apr 10 '19
Holy shit this comment is gold. Makes it clear you have no idea wtf you’re talking about. More more!
0
Apr 10 '19
[deleted]
2
u/LetterBoxSnatch Apr 10 '19
Thank you! So overhyped!
I hate that it has infected Angular so thoroughly via ngrx when the already existing state management options in Angular (stateful components, stateful services, RxJS, etc) are more concise, more modular, more flexible, and less verbose.
Yes, you still need to be organized and collaborate with your team about how you approach state changes, but in the situations where I have seen Redux make an appearance, it has only made applications harder for devs to reason about. Harder to reason about generally means more prone to bugs and more reluctance to refactor. You should have a handful of state-management tools that your team agrees on, and otherwise state should be managed on a case-by-case functional chain eg via rxjs, prop passing, or a dedicated stateful singleton that can act as a local stand-in for a backend service.
I am sure Redux has good use cases where it would be the best choice for a given problem, and I just haven't personally encountered them yet. Mostly I hate that it's the default choice for many React/Angular/Vue projects.
6
u/[deleted] Apr 09 '19 edited Apr 09 '19
Source: https://insights.stackoverflow.com/survey/2019?utm_source=so-owned&utm_medium=announcement-banner&utm_campaign=dev-survey-2019#most-popular-technologies
According to the same survey this position is in danger. Because It is not in the desired place in the most lowed and wanted framework list. I hope something changes after ivy.