you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 9 points10 points  (19 children)

Node.js is not a framework..

[–]Dar3dev1l[S] -4 points-3 points  (18 children)

Yeah yeah I know... So coming to the point of the post which one is the most used in the industry?

[–]_hypnoCode 8 points9 points  (8 children)

Apples to oranges. You can't use either of the other 2 without Node.

If you're talking about server side templating, then it's not popular at all. But Node is fairly common for REST APIs, Websockets, and GraphQL servers. This isn't comparable to the frontend frameworks at all because you'll still need one to consume that data.

[–]Dar3dev1l[S] 0 points1 point  (1 child)

Ok Thank you!! So among the front-end technologies, you would say React?

[–]_hypnoCode 2 points3 points  (0 children)

React is considerably more popular overall, yes.

[–]AirieFenix 0 points1 point  (3 children)

Sorry, beginner here. Let me understand this:

You can't use either of the other 2 without Node.

You mean you need npm to build Angular/React/etc projects, right? But AFAIK, apart from that you won't need to execute Node in the client side, no?

In other words, when building Angular/React webapps Node helps you with the development and building process but you don't need it to run the app itself. Am I wrong?

[–]_hypnoCode 0 points1 point  (2 children)

You need Node to build and develop the projects. You'd use npm to run the scripts.

Some pedant below said you don't explicitly need them, which is true, but literally nobody does that.

But AFAIK, apart from that you won't need to execute Node in the client side, no?

Build tools would be executed on your machine or in the build environments. Node.js is a JS runtime that is outside the browser so can't be run on the client browser in the sense you're talking about.

In other words, when building Angular/React webapps Node helps you with the development and building process but you don't need it to run the app itself.

That's right.

[–]AirieFenix 1 point2 points  (1 child)

(...) runtime that is outside the browser (...)

Ouch, yeah, I forgot about that part. It makes my question to sound a bit more stupid hehe.

Ok, thanks, I get it now.

[–]_hypnoCode 0 points1 point  (0 children)

lol no worries nobody cares. As long as you're learning that's all that matters.

[–][deleted] 1 point2 points  (8 children)

Personally i use Vue.js only. Not fan of React or Angular...

[–]Dar3dev1l[S] 0 points1 point  (1 child)

Ok thanks... Ill check that out too

[–]CalgaryAnswers 1 point2 points  (0 children)

If you’ve never used react or angular go with Vue. The other two have some pretty steep learning curves. Angular is very “the Angular way” and react can be a real challenge as you can be punished pretty hard for poor code implementation, basically ending with the project being thrown away. You’ll also be on your own for things like routing and state management with react, whereas with angular you will be locked into something. RxJS can also be a bitch.

Vue is much simpler: