r/reactjs • • 3d ago

Discussion Learning React after work — rebuilding the same small project keeps teaching me more than new tutorials do

I'm in my third year of BCA and working in digital marketing, so I learn React in the evenings. Tutorials always make sense while I'm watching them, then I sit down to build something on my own and half of it falls out of my head. What actually helped was picking one small project and rebuilding it again from scratch — each time I notice something I misunderstood the last time, like when state should live in the parent or when a component is doing too much. Has anyone else learned this way, or did you get further by jumping to a new project every time?

14 Upvotes

12 comments sorted by

9

u/thatfuckinjosh 3d ago

I mean generally speaking, practice will always be the best way of learning. Experience is the wisest teacher and all that. Keep it up!

1

u/CandidResearch9567 2d ago

would you count rebuilding the same thing from scratch as real practice or is it better to keep adding awkward new features to the existing code so you have to refactor

0

u/allaboutzaid 2d ago

You're right about practice being the best teacher — that's exactly what I've felt rebuilding the same project. Each round I catch something I got wrong before, like state living in the wrong component, and fixing it myself sticks far better than rewatching a tutorial. Did you learn the same way, by rebuilding one thing, or by jumping to a new project each time?

3

u/Greedy_Ad_7658 2d ago

Rebuilding the same project is a solid method, and you can get more out of each round by changing one constraint every time instead of repeating it exactly:

  • Round 2: add data fetching (loading and error states, a cache or React Query). Round 3: add routing and a form with validation. Round 4: move shared state out (context or a small store) and compare what got simpler.

  • Before each rebuild, write down 3 to 5 decisions you made last time ("state lives in the parent because two siblings need it") and decide whether you'd still do that. Those notes are exactly the "things I misunderstood" you mentioned, and reading them back sticks better than remembering.

  • Do the first 30 minutes without any tutorial open, even if it comes out broken. Struggling to recall is what makes the knowledge stay.

  • Once a round works, spend some time reading another person's small React project and compare structure with yours. It shows you patterns you wouldn't think of.

Then, as the other comment says, move to a different project to check that the ideas transfer. Rebuilding teaches you the moves; a new project shows whether you can apply them.

3

u/New-Reality9702 2d ago

"I practiced something an got better"

Well no shit, is there anything remotely useful on this sub anymore

3

u/Unoriginal- 2d ago

I’m not sure why subs like these are full of freshman/juniors and Indians, it’s very hard to find useful information.

Like one peek at OP’s post history and I wouldn’t even reply to this post it’s so shallow it insults the profession

1

u/vegancryptolord 2d ago

Building will always be more valuable than watching tutorials. I think going through the same project is a great place to start and where you’ll have very immediate “feedback” on implementing what you’ve learned. That being said, one of the most valuable skills in SWE is applying lessons from previous work onto new problems. So I would encourage you as a next step to pick a new project, different, maybe a bit more challenging and see if you can pull from your previous experience when facing a new problem. It should unlock even better and more concrete understanding of certain concepts and trade offs

1

u/SerhiiGTNCFCZ 2d ago

One thing I'd try before rebuilding again is deliberately breaking something in the existing project and figuring out why it stops working. Learning to debug React components and understand unexpected behavior can be just as valuable as learning to build them from scratch.

0

u/FudFomo 2d ago

Might as well learn about operating a switchboard. Read the room, no one wants to pay you to code React.

0

u/No-Humor-3808 2d ago

You need to repeat patterns again and again until they become second nature. It's completely normal to forget things you've just watched in a tutorial. I think everyone goes through the same thing. The key is to stop relying on tutorials and start building things yourself, even if you have to look things up along the way. Take a look at ReactChallenges.com if you want to focus on small, practical React challenges. It's a good way to practise specific patterns, identify what you don't fully understand yet, and reinforce what you've learned through repetition.