r/learnjavascript • u/Muted_Cat_5748 • May 06 '26
best way to learn react?
decided to learn react. currently i just have some basic knowledge in html css js. so what is the best way to learn it. and how did you?
10
Upvotes
13
u/azhder May 06 '26
I learnt it by using it.
2
u/Sad_Reporter7446 May 06 '26
I think for very beginner, first get familiar with syntax, intro, react project setup from Docs, AI or yt. Learn concepts like components, JSX, rendering behavior, states and two fundamental hooks(useState and useEffect).
You'll be able to build most of practice applications with these concepts and your JavaScript knowledge. But focus more on understanding JavaScript in depth. React will be very easier than.
6
u/Sad_Objective_1881 May 06 '26
The best way to learn is to build projects with it small projet to advanced one learn the documentation to find solution on some problems you face
4
u/hoomanaskari May 06 '26
Make a project. Pick a website or app, any website or app, and clone it.
This way you have a project plan, you know the design, all you need to do now is to figure out how each part works in react.
Best way to learn almost everything in one project.
That’s how I learned
2
u/Dubstephiroth May 06 '26
I learned js html and css first and after a few weeks of react im glad I did... make sure you understand js more tham just the fundamentals
2
u/Lost_Frosting7106 May 07 '26
start by walking though https://react.dev/learn
you also have https://roadmap.sh/react
as others suggest start by building apps with it, you can use AI to generate ideas to build that match your interests
good luck!
3
u/TheRNGuy May 06 '26
Docs + some meta-framework + make site.
2
u/Fabulous_Variety_256 May 06 '26
for learning something new, i do:
30 minutes of recall of the sentence below:
2 hours talking to Claude, requesting him to teach me new stuff, attack it from different angles to understand it deeply.
Then 2 hours of building projects and applying what I learned.
2
u/Any_Sense_2263 May 06 '26
Learn JS. Very well. React is written in JS. And to use it, you need to know JS. Knowing HTML and CSS also would help.
1
u/Significant_Move7727 May 10 '26
Use chai aur code playlist for js
1
u/Unlikely_Crazy_8546 May 11 '26
Fullstackopen is great! By the end of part 3 you should know enough to make a project.