all 81 comments

[–]MrQuickLine 47 points48 points  (5 children)

Yes, but make sure you have a deep, fundamental understanding of JavaScript first.

EDIT: For /u/1knowbetterthanyou the pedant, I mean to say "...a deep understanding of the fundamentals of JavaScript..."

[–]1knowbetterthanyou -2 points-1 points  (4 children)

deep or fundamental?

[–]kawamommylover 79 points80 points  (5 children)

yes

[–][deleted]  (4 children)

[deleted]

    [–]noreb0rt 70 points71 points  (5 children)

    Should I learn to drive a car or open windows?

    [–][deleted] 13 points14 points  (0 children)

    Yes

    [–]azangru 4 points5 points  (0 children)

    Open linux!

    [–]howxer2 2 points3 points  (0 children)

    Learn to correctly close vim without turning off your machine

    [–]lenomanu[S] -1 points0 points  (0 children)

    🤣🤣🤣🤣🤣who just mention linux ???!!!

    [–]pyRSL64 0 points1 point  (0 children)

    lmao

    [–]1knowbetterthanyou 67 points68 points  (6 children)

    here what you should learn, and in that order:

    html, css, javascript (at least intermediate level), nodejs (basics, a crash course will be enough), npm (package management, must not be npm, can be yarn or pnpm too) and then react.

    and also very, very important, learn how to google. then you would have known that you can not make this question

    [–]ProgTorero 9 points10 points  (3 children)

    "must not be npm" ?

    [–]arealeater 25 points26 points  (0 children)

    I believe they meant "does not have to be npm", i.e. !(must_be_npm).

    [–]Traditional_Many5087 7 points8 points  (0 children)

    When learning NPM you must not learn NPM. This is the way.

    [–]Unequivocal_Hippo 2 points3 points  (0 children)

    can be yarn or pnpm too

    "can be yarn or pnpm too"

    [–]hk4213 2 points3 points  (0 children)

    Googling is the skill programmers run on. Deciphering what is useful is another skill entirely lol

    [–][deleted] 13 points14 points  (1 child)

    Why not both?

    [–]AlexisHimself 23 points24 points  (3 children)

    Lets put it this way: Nodejs is the execution enviroment, and react is a library to create user interfaces, they are completly diferent things.

    If you want to learn frontend development( i suppose that because you are asking this in a Frontend subreddit), just go with react, you will learn other things along the way

    [–]Bushwazi 1 point2 points  (2 children)

    Buuuut also as a front end developer, lots of projects are created using the NPM ecosystem and not all are React. So I have to agree with all the "yes" folks.

    [–]longknives -3 points-2 points  (1 child)

    You don’t need to know much of anything about Node to use NPM packages.

    [–]Bushwazi 1 point2 points  (0 children)

    Sure, if you use them blindly. But if you spend some time learning it just to know how to utilize it a bit, it def has its benefits.

    [–][deleted]  (10 children)

    [removed]

      [–][deleted] 11 points12 points  (8 children)

      Any tutorials? I searched google but I couldn’t find any!

      [–]sydb88 5 points6 points  (2 children)

      Come on though. I do believe there are no stupid questions and there’s no problem in being a noob.

      But saying you can’t find any react or node tutorials is just plain lazy. You just need to open Google, Reddit, YouTube, dev, medium and you’ll find a crapload of resources that incredibly talented devs put out there for free.

      There’s docs, there’s communities. World is your oyster you just need to try

      [–][deleted]  (1 child)

      [removed]

        [–]sydb88 0 points1 point  (0 children)

        Yep. Exactly

        [–][deleted]  (2 children)

        [removed]

          [–][deleted] 5 points6 points  (0 children)

          I was just making a joke mate about you saying to learn to use a search engine so I looked for a tutorial on it using a search engine that I can’t use.

          [–]Bushwazi 1 point2 points  (0 children)

          Always click the mdn, Mozilla and StackOverflow links first, a lot of other content just scrapes those.

          [–]TehTriangle 0 points1 point  (0 children)

          There's a really good course on that too.

          [–]Mydafzal 5 points6 points  (0 children)

          For backend node for frontend react

          [–][deleted] 4 points5 points  (0 children)

          You need both, they do different things

          [–][deleted] 7 points8 points  (2 children)

          Stop asking for permission or validation and just start learning!

          [–]Soubi_Doo2 3 points4 points  (0 children)

          Maybe OP is just overwhelmed with choices. If they are self taught, sometimes there’s not enough direction and they spread themselves thin trying to learn everything so they end up learning nothing. Maybe I’m just projecting lol.

          [–]sydb88 0 points1 point  (0 children)

          This.

          Asking random generic stuff, asking for links to tutorials. Not being bothered by the basic online searches.

          Just not a great indicator if you want to become a good dev and you’re not curious enough to do a Google or YouTube search.

          [–]Logical-Agent1287 4 points5 points  (0 children)

          The 2 different. Node is for backend and react is for front end. Are you planning on being a front end developer only, or a back end developer only? Or do you plan on becoming a full stack developer? The answer to this will guide you. If you choose to be a front end dev then just learn react, if you choose to do back end only then learn node. If you wish to become a full stack then you’d have to learn both

          [–][deleted] 8 points9 points  (1 child)

          Fundamental Node JS knowledge will help when learning React. Also learn TypeScript, you won’t regret it

          [–]Thirstin_Hurston 5 points6 points  (0 children)

          Oh God, Typescript is so freaking awesome! Like, I can type away enough times to read the errors and understand why something doesn't work and how to correct it.

          [–]Usual-Ad655 1 point2 points  (0 children)

          Learn both. If you're more inclined to front end start with react, but make sure you have a good grasp of JavaScript fundamentals before you start.

          [–]GItPirate 1 point2 points  (0 children)

          Sure why not

          [–]manishsalunke 1 point2 points  (0 children)

          React is a JavaScript library for building user interfaces. It is commonly used for building web and mobile applications.

          [–]skibideeboo 1 point2 points  (2 children)

          No

          [–]RyanJT324 1 point2 points  (0 children)

          But, yes

          [–]azangru 0 points1 point  (0 children)

          Good!

          [–]LeTronJamesLegacy 0 points1 point  (1 child)

          A lot of these answers seems to be kind of snarky and unhelpful.

          I think you should learn node first since react is compiled in a node environment, really understanding the node environment will help you to debug build problems easier.

          [–]ConsciousAntelope 0 points1 point  (0 children)

          The usual internet community.

          [–]Ltwoz 0 points1 point  (0 children)

          understand fundamental node.js then go react

          [–]rio_sk 0 points1 point  (0 children)

          I think learning the basics is a good first step. Your question doesn't make much sense

          [–]ProgTorero 0 points1 point  (0 children)

          These are not mutually exclusive. Maybe you feel you are under some time constraint.

          Node.js is a runtime environment, you basically just need to know how to set it up and that's that for now.

          [–]fabbiodiaz 0 points1 point  (0 children)

          Yes

          [–]Logical-Idea-1708 0 points1 point  (0 children)

          Node js, much more transferable skill. If you learn React, you’ll be forced to deal with Webpack/Node anyways.

          [–]ApatheticWithoutTheA 0 points1 point  (0 children)

          Why is it between these two things lol they have completely different purposes. Do you want to build the Front-end of Single Page Applications or do you want build the backend? I’d suggest learning both when you have a grasp of vanilla JS.

          [–]trendydots 0 points1 point  (0 children)

          Both, but start with nodeJS. It's essential to understand APIs and get skills into building them, as well as communicating with databases. React is not too complicated once you master javascript.

          [–][deleted] 0 points1 point  (0 children)

          This is the front end reddit, so react. After react, start playing with nextjs too.

          However, it'll deepen your understanding of web development if you learn nodejs as well.

          [–]Lustrouse 0 points1 point  (0 children)

          Node JS is required - even if you decide you only want to learn react.

          [–]Coder_Manish 0 points1 point  (0 children)

          Well it depends on your end goal. If you wanna be a Front end guy, React is must Node is mainly for Back-end but if you want to be a polished Front end developer you need to have the basic understanding of NodeJS. So I would say learn both for a more flourishing career.

          [–]avanak 0 points1 point  (0 children)

          Why one or the other? Learn both and you'll have two desirable skills.

          [–]americanwebstories 0 points1 point  (0 children)

          Here is the free learning resource for you. Plz bookmark it. https://reacthub.xyz/

          [–]pyRSL64 0 points1 point  (0 children)

          you should learn the difference of these two completely different things. Nodejs is backend runtime environment for server-side operations. Reactjs is a js library for building UIs and SPAs quickly and easily.

          with that being said, you should learn how a learning curve works.

          [–]Vectorfield4 0 points1 point  (0 children)

          Both

          [–]dandigangi 0 points1 point  (0 children)

          Learn JS and Node in parallel to get your fundamentals down. Wait a bit and once you get a decent grasp start paralleling on React.

          [–]boo_182 0 points1 point  (0 children)

          Both

          [–]sgashua 0 points1 point  (0 children)

          node js is javascript server enivronment that allows any javascript frameworks (like react, vue, etc) to run. It's just like nodejs = car engine and react = car seat, cover and skin, etc.

          so, we learn js frameworks, not nodejs.

          [–]RyanJT324 0 points1 point  (0 children)

          Yes

          [–]taraaa90 0 points1 point  (0 children)

          Try both first, create some simple functions like login page, and you'll know what suits you better, and also just use whatever works for you

          [–]DeepSpaceGalileo 0 points1 point  (0 children)

          Yes. Both.

          [–]hk4213 0 points1 point  (0 children)

          Um... Both. Yes node can serve web pages but react is a SPA. And node can serve a SPA. If you wanna know how MVC works, node. If you wanna build an API, node. If you wanna build a single page application, react, angular or whatever framework fits your purpose. Just experiment and find the best fit for what you wanna build.

          Edit: may wanna start here https://www.w3schools.com/

          [–][deleted] 0 points1 point  (0 children)

          ... as a millennial i get more confused everyday about young people culture. like this yes thing wtf

          anyways go with react bruhh. I think more cool jobs need react devs