DEV Community

Cover image for What are the most common design patterns that you use in a React.js app?
Giovanni Klein Campigoto
Giovanni Klein Campigoto

Posted on

2

What are the most common design patterns that you use in a React.js app?

S.O.L.I.D?

Top comments (2)

Collapse
 
dance2die profile image
Sung M. Kim β€’

"Pattern" is an overloaded term and SOLID might work in general.

I see "patterns" such as render props, HoC (higher order component) thrown around more than software patterns such as SOLID.

Not sure what the common pattern is but render props & HoC are being phased away due to hooks.

Collapse
 
giovannikleincampigoto profile image
Giovanni Klein Campigoto β€’

Yeah, I guess I meant more like software development patterns, than React patterns (HoCs and render props), because those patterns most of us already used or studied. Companies tend to value more these software patterns because they are not used to see a lot of React code, and React patterns became something more implicit.

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

πŸ‘‹ Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay