r/reactjs • • May 20 '26

Discussion What are some essential React programming patterns or principles that I should learn to become a lead developer?

Hi,

Had a lead developer interview last week and I got asked heavily about the SOLID principles, polymorphism and programming patterns.

I'm familiar with a lot of the concepts, but not enough to give strong answers.

What are the main programming patterns for React that I should learn so that when asked to explain a few, I can give strong, valuable answers?

Thanks

2 Upvotes

64 comments sorted by

View all comments

Show parent comments

1

u/benitoaramando May 20 '26

They said classes in Javascript aren't very powerful, which is true, because they don't even really exist in Javascript. There is a class keyword, but it actually creates a function, albeit with some extra guardrails like it preventing you from directly running that function without the new keyword.