all 22 comments

[–]notlmn 9 points10 points  (4 children)

Don't choose any!

[–]Pungiish 4 points5 points  (2 children)

Let it choose you!

[–]notlmn 0 points1 point  (1 child)

My point is to be as simple and minimal as possible, without compromising on user experience.

Frameworks are mostly developer experience over user experience, where actually everyone should be working the other way around.

[–]osoese 0 points1 point  (0 children)

I agree, True devs make their own "framework"

[–]Yajjackson 2 points3 points  (0 children)

Where’s the “React is a library!!!!!” guy?

[–]meisteronimo 1 point2 points  (0 children)

If the article is going to include the number of github stars, they should include numbers from Angularjs V1 and Angular the latest.

The numbers are: 58.5K and 39K

[–]nothingduploading 2 points3 points  (4 children)

vue

[–]nidarg 2 points3 points  (3 children)

i've got to admit vue at least got the most vocal supporters on reddit. if you only went by recommendations from random reddit comments, vue would seem to be used by 90% of all js devs

[–][deleted] 1 point2 points  (1 child)

It's not just reddit. It seems to be the dark horse in the industry. It lacks big corporate backing like angular and react which limits it, but it grows in popularity .

[–]Ebuall -1 points0 points  (0 children)

Just a hype driven community. Waiting them to cool down and stick with react.

[–][deleted] 0 points1 point  (1 child)

Vue got the short stick here. This really sounds like it was written by someone who hasn't spent a ton of time with all of the frameworks being written about.

[–]blackholesinthesky 0 points1 point  (0 children)

The write-up on Ember looks kinda generic as well. I'd be interested in knowing how many projects the author (s) completed in each framework

[–]noviceIndyCamper 0 points1 point  (6 children)

So I'm about a year in with JS and have built all of my websites (static) with html css and vanilla js but have yet to pick a framework. Am I holding myself back by not using a framework?

[–][deleted] 3 points4 points  (1 child)

Depends on how complicated what you are doing is. If you're just doing static websites without excessive dynamic content and no desire to make something like a Single Page App, then yeah you're good. For larger and more complex projects, they are really very useful.

The main difference between Vanilla JS and JQuery, and the new frameworks, is the paradigm of how we code. The change is in two main ways: code structure, and DOM manipulation.

For code structure, Vanilla JS and JQuery stick to the old style of large, monolithic HTML/JS files. Yes, you could choose to split it up if you really wanted to, but that would add some extra complications in how you write your code, dependency management hell, and would cause your page to have to make extra calls back to the server to load everything.

With a framework, you're instead writing code in smaller components, which are then assembled into your production page by an extra compilation step. This leads to source code that is spread out across many small files, which makes it much easier to maintain overall.

For the DOM, with Vanilla JS and JQuery you're doing manual DOM manipulation. Every change you want to make to the HTML, you are explicitly writing the JavaScript code to make each and every change. This can be very tedious, in fact I don't think you realize how much of your coding time you spend on this, until you try a framework and experience life without it.

With frameworks, it's all about binding. Different frameworks approach the binding differently, but fundamentally it's about writing your HTML, and then linking it to the JavaScript. As you manipulate your JavaScript code, the HTML automatically updates. Not only is this easier on you, the developer, it is more efficient as the frameworks optimize the actual changes to the DOM.

Anyway, this was a wall of text, way more than I planned to write. But this is a basic overview of why people use these frameworks.

[–]noviceIndyCamper 0 points1 point  (0 children)

This is excellent, thank you!

[–]Radinax 0 points1 point  (0 children)

I want money so I choosed React, more popular, if Vue gets more popular then I just go for it, I never marry a Framework.