DEV Community

Cover image for 17 Tips from a Senior React Developer

17 Tips from a Senior React Developer

Ndeye Fatou Diop on January 07, 2025

I've been writing React code as an engineer at Palantir for the past 5+ years. These are the 17 tips I wish someone had shared with me when I was ...
Collapse
 
madza profile image
Madza

Solid tips right here, mate! Keep up the awesome job!

Collapse
 
_ndeyefatoudiop profile image
Ndeye Fatou Diop

Thanks Madza πŸ™Œ

Collapse
 
getsetgopi profile image
GP

Awesome! list, and thanks for sharing. I advise the same to my junior developers, that always make sure to master JavaScript even before jumping to other libraries and end up writing code that you don't know how they work.

Collapse
 
_ndeyefatoudiop profile image
Ndeye Fatou Diop

Thanks a lot!
Super glad we agree πŸ‘

Collapse
 
aroldev profile image
Arol

I love to see a really good list about React. Especially I like the focus on vanilla and basement as first step.

Collapse
 
_ndeyefatoudiop profile image
Ndeye Fatou Diop

Super glad you like it Arol πŸ™Œ

Collapse
 
empiree profile image
Oleg Dubovoi

Great article!

Collapse
 
_ndeyefatoudiop profile image
Ndeye Fatou Diop

Thanks πŸ™

Collapse
 
wizard798 profile image
Wizard

Just amazing brother, and also for making book freeπŸ™, and in addition, I found all articles writer by you at that site, when I'm free I'll read and will review πŸ˜€

Collapse
 
_ndeyefatoudiop profile image
Ndeye Fatou Diop

Thanks Wizard!
That is my pleasure πŸ˜‡

Collapse
 
cn-2k profile image
cn-2k

The first one is absolutelly true, i've started to learn Vue before JS and well... too much scars to say xD

Collapse
 
_ndeyefatoudiop profile image
Ndeye Fatou Diop

Ahaha same here! I struggled with react for a long time because I didn’t know JS

Collapse
 
devshefali profile image
Shefali

Helpful article, Ndeye! Thanks for sharingπŸ™Œ

Collapse
 
_ndeyefatoudiop profile image
Ndeye Fatou Diop

Thanks Shefali πŸ™Œ

Collapse
 
alekseiberezkin profile image
Aleksei Berezkin

Extra score for mentioning The Pragmatic Programmer and Uncle Bob πŸ™‚ Regarding state management, I'd add to first try Zustand

Collapse
 
_ndeyefatoudiop profile image
Ndeye Fatou Diop

Thanks Aleksei! Never used it but I heard good things πŸ˜‰

Collapse
 
codewander profile image
Kanishka

You mention react-router in your simple list. Maybe wouter instead?

Collapse
 
_ndeyefatoudiop profile image
Ndeye Fatou Diop

Oh never heard of it before

Collapse
 
alekseiberezkin profile image
Aleksei Berezkin

Highly recommend πŸ™‚

Collapse
 
codewander profile image
Kanishka
Thread Thread
 
_ndeyefatoudiop profile image
Ndeye Fatou Diop

Interesting. Thanks for sharing. It is nice to see alternatives. However react-router is so well-known and tested and nice with the last update that I prefer to just recommend it.

Thread Thread
 
codewander profile image
Kanishka

Makes sense. I think the common theme in their history is churning through breaking changes for many years now, so even if it's well tested, users are burning time keeping up.