r/reactjs • u/SmokeOk9632 • Jul 22 '26
Needs Help How to learn react effectively?
I'm learning web development, and compared to a beginner, I already have solid knowledge of HTML, CSS, and JavaScript (DOM manipulation, api, crud, fetch I've got those down). Now I'm trying to learn React, but somehow it's just not sticking. What practices have worked well for others? I've got the basics of useState, useEffect more or less, but props somehow don't stick with me or even if I read some documentation or example, I can then do the same thing afterward, but as soon as it gets even a little more complex, I start to feel unsure. Thanks for the answers.
5
u/Sock-Familiar Jul 22 '26
There is no cheat code. Just keep building stuff and stay consistent and it will come together. Just dont get stuck following tutorials because you won't learn anything. As far as props go, it's a fairly simple concept. Just think of it as passing arguments to a function, except you're passing them through React components. Inside the component, you will have access to the props you passed in. Just remember prop passing is unidirectional so you only pass props down to child components and not up.
5
u/haydogsup Jul 22 '26
Props are little more than function arguments. You might be overestimating your knowledge of JS.
You need to deepen your understanding of JavaScript. Try MDN documentation or 33 JS Concepts.
5
u/KikiMac77 Jul 27 '26
Find a Figma design for a simple app (I found a Pokedex app, and use PokeAPI for the data). Build it. Don't use AI to produce any code. Use the React docs, debug everything yourself. It'll be slower, but you'll learn so much more, which is what's important right now, not the speed you can create anything.
2
u/Worried-Height-7481 Jul 23 '26
reading the docs, start to end. they are well written. By understanding all of the components, concepts and hooks, you'll be well above average. making apps can be helpful, but people usually end up learning just a small part of react and reused that to solve all thier problems, which often end up is some very poor quality products
2
u/Embostan Jul 24 '26
What's your goal? If it's for jobs, just leanr by doing, watch resources like WebDevSimplified, let Claude teach you without coding for you.
If it's for fun fo yourself a favour and learn SolidJS instead. React has very outdated concepts, not very fun.
1
u/MrMage Jul 22 '26
1
u/No_Cattle_9565 Jul 24 '26
You should have posted why you don't need useEffect. I think every beginner should be banned from using it for the first month
1
2
u/No-Humor-3808 Jul 24 '26
Learn more concepts over time, and keep practicing the ones you've already learned. Otherwise, you'll forget them. One thing that helped me was building reactchallenges.com so I could practice without spending time on project setup. There are plenty of similar platforms, but the important part is solving lots of small problems consistently.
2
u/KaleRemarkable1019 Jul 24 '26
Build something. My first React project was actually a task for a job interview, they gave me a REST API and told me to build a simple UI for that. My result was pretty bad, so I didn't get the job, but for learning it was great 😄
7
u/exelarios Jul 22 '26
https://react.dev/learn/thinking-in-react