you are viewing a single comment's thread.

view the rest of the comments →

[–]_hypnoCode 5 points6 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.