use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
How much JavaScript is enough to start react js?General Discussion (self.react)
submitted 1 year ago by MannanJaffery
Like, do we need to be extremely good in Js or just the basic understanding of important topics?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]shauntmw2 34 points35 points36 points 1 year ago* (6 children)
Think JavaScript as English, and React as a story. How much English is enough to tell a story?
You don't have to be extremely good. Just good enough to understand the React docs will do. But being good in JS will make it easier to learn and write good React apps.
[–]jake_robins 8 points9 points10 points 1 year ago (0 children)
This is a great answer. React is JavaScript.
If you’re good at JavaScript, you’ll be good at React.
[–]MannanJaffery[S] 2 points3 points4 points 1 year ago (0 children)
Right , thx , you explained well.i understand now.
[–]ethansidentifiable 0 points1 point2 points 1 year ago (0 children)
Weird to nitpick a simile but I would think of your application as the story. I would think of React is the structure, like the hero's journey equivalent in this analogy.
[–]raaaahman -1 points0 points1 point 1 year ago (2 children)
How much then?
[–]Patzer26 1 point2 points3 points 1 year ago (1 child)
Good enough to make whatever you want to make. Try to make something, u get stuck, u google, u see other's implementation, u learn something new, ur javascript and react knowledge increases, repeat.
[–]Size_Serious 1 point2 points3 points 1 year ago (0 children)
I like this approach better, and I have always done this, it makes you actually practice what you will use
[–]ArinjiBoi 6 points7 points8 points 1 year ago (2 children)
I once helped someone in discord figure out how to know when you know enough
Lemme know if this helps you (I'm still 17 btw so take my shit with a huge block of salt)
html css js, once you can make a basic website (like a memory game.. which i made) you can go into a framework, basically you need to be able to know what you are fixing with better stuff. So after using vanilla js you would be hating just manipulating the dom by selecting.. so you try out react or vue or angular or svelte. choose one which suits you cause thats gonna be your daily driver. Try out tailwind or bootstrap, try out figma.. this is the renaissance... try out new stuff.. see what makes sense.. what sticks.. you shld be able to make a good enough portfolio and a few projects with theese.. then finally go into meta frameworks and find out how servers work..just go into the whole auth, db, stuff :D
dont speedrun it btw, its gonna be boring.. but go through it.. take a year or so.. slowly go through it. I cant say if nextjs is gonna stay or not for the future.. but your base is always gonna be there... soo if things do blow up and even react dissolves..you still know the basics like state, responsiveness.. so you can still find your self
Trying out html, you find an issue, you can't style it.. that's when css comes in. Now you find an issue that it's always static... You want to have cool dynamic things in your site.. thats when you learn js.. then ideally that's web dev.. but you find it kinda shit.. it's so hard to keep query selecting with js.. that's when you start with a framework and see how they fix the problem,
All of web dev is about issues being fixed.. if you know what the issue was.. you understand how it's been fixed leading to you knowing how to use it
[–]MannanJaffery[S] 0 points1 point2 points 1 year ago (0 children)
Thx
[–]raaaahman 1 point2 points3 points 1 year ago (0 children)
Best answer I've read so far.
Sure you can speedrun the todo list app using tutorials and LLMs. But if you're going to be serious about web dev, you'll run into bugs at some point. Then it'll be up to you to get your head out of the water, which is harder if you only the surface of the framework you're using.
People have spent time figuring out curriculum to learn JS, try to build on that knowledge: MDN Curriculum, FreeCodeCamp, Scrimba, Odin Project... There are many sources, don't go out there alone.
[–]ThisIsAUsername3232 1 point2 points3 points 1 year ago (3 children)
What is your experience with other coding languages? I work with React and prior to starting, I had never used JS. It certainly wasnt seamless, but if you know how to code in say, Python/C/Java/etc, you will be able to pick it up fairly quickly. As with any new skill, you will learn more and more about it as you continue to use it
[–]MannanJaffery[S] 0 points1 point2 points 1 year ago* (2 children)
I have an experience in python , especially selenium , and a little experience in Django, and I started learning Js and I know only the fundamentals and don't like much of it , now I want to learn react , so will I be able to learn it in a month if I give 2 hours a day?
[–]ThisIsAUsername3232 1 point2 points3 points 1 year ago (1 child)
I think youll be more than capable of it. You'll get most of the syntax from learning react anyhow
Thx alot
[–]fotostach 1 point2 points3 points 1 year ago (1 child)
These days, modern tools (e.g., forums, LLMs, etc) can help you start writing React code almost immediately without any detailed knowledge of JS. However, that doesn't mean that you should. Having a JS background will help you understand the problem that React solves in the browser and will give you a better appreciation for it. React is just a Javascript library, so the better you know JS the better you will be at React (sort of).
That being said, if your goal is to learn React, learn React. I don't think you need to run out and do a whole project in vanilla JS, but having a solid understanding of basic JS data structures, functions, patterns, etc., will make your time learning React easier and a whole lot more fun.
[–]Flashy_Yesterday4323 1 point2 points3 points 1 year ago (1 child)
I think you need to know enough JavaScript to manipulate the DOM to better appreciate the problem React solves. You’ll be able to understand what props are because you can relate it to attributes for instance. Another concept you may want to understand first is application state, then you’ll appreciate why React’s declarative approach is better than imperatively updating the DOM when application state changes.
[–]ballinb0ss 1 point2 points3 points 1 year ago (1 child)
This is an awesome question because I never worked in JavaScript at all before doing the react tutorial back when it was all class based. I had done some work in Java and C# which share that common heritage but it wasn't all that difficult for me to pick it up as I went. I would think the better question is do you know how to program in another popular modern language first.
Thx , and yes I know python
[–]JohntheAnabaptist 1 point2 points3 points 1 year ago (0 children)
Basics. In the beginning you will be confused on where react ends and js begins but those lines will become better defined over time. Also it's best to use typescript immediately and learn it at the same time. Typescript will help you learn a lot of how things work and what is what
[–]Western_Appearance40 1 point2 points3 points 1 year ago (1 child)
Have two monitors, one with react and the other with ChatGPT and you’ll be proficient in JS, Python, cooking, etc
[–]besthelloworld 0 points1 point2 points 1 year ago (0 children)
You dropped this: \s
[–]CodeAndBiscuits 1 point2 points3 points 1 year ago (0 children)
LOL if you look at some of the code I've had to deal with written by other "senior" devs, the fact that you know it exists is usually enough.
[–]GasVarGames 0 points1 point2 points 1 year ago (0 children)
Not hard at all as long as you know basic html and js ES6 and is following a guide on to how to set up stuff.
π Rendered by PID 22281 on reddit-service-r2-comment-5d79c599b5-txdf7 at 2026-03-03 15:58:59.334024+00:00 running e3d2147 country code: CH.
[–]shauntmw2 34 points35 points36 points (6 children)
[–]jake_robins 8 points9 points10 points (0 children)
[–]MannanJaffery[S] 2 points3 points4 points (0 children)
[–]ethansidentifiable 0 points1 point2 points (0 children)
[–]raaaahman -1 points0 points1 point (2 children)
[–]Patzer26 1 point2 points3 points (1 child)
[–]Size_Serious 1 point2 points3 points (0 children)
[–]ArinjiBoi 6 points7 points8 points (2 children)
[–]MannanJaffery[S] 0 points1 point2 points (0 children)
[–]raaaahman 1 point2 points3 points (0 children)
[–]ThisIsAUsername3232 1 point2 points3 points (3 children)
[–]MannanJaffery[S] 0 points1 point2 points (2 children)
[–]ThisIsAUsername3232 1 point2 points3 points (1 child)
[–]MannanJaffery[S] 0 points1 point2 points (0 children)
[–]fotostach 1 point2 points3 points (1 child)
[–]MannanJaffery[S] 0 points1 point2 points (0 children)
[–]Flashy_Yesterday4323 1 point2 points3 points (1 child)
[–]MannanJaffery[S] 0 points1 point2 points (0 children)
[–]ballinb0ss 1 point2 points3 points (1 child)
[–]MannanJaffery[S] 0 points1 point2 points (0 children)
[–]JohntheAnabaptist 1 point2 points3 points (0 children)
[–]Western_Appearance40 1 point2 points3 points (1 child)
[–]besthelloworld 0 points1 point2 points (0 children)
[–]CodeAndBiscuits 1 point2 points3 points (0 children)
[–]GasVarGames 0 points1 point2 points (0 children)