Component composition is undoubtedly where React shines. Being able to freely compose larger views from smaller, flexible building blocks is great. But you have to be careful because it's easy to get it wrong (or at least suboptimal). In this article...

Markdown supported · ⌘↵ to post
Tomasz Gil
that's a cool trick, it blowed my mind and i consider it's very useful as a react developer. Thanks for sharing it!
This post is an absolute gem, as a developer, I can understand how helpful it is. Thanks for sharing Tomasz Gil immediately bookmarked the article.
Gabriel Alves Cunha
Man, thanks so much for sharing that! ☺️ I have that all over my code base and it always smelled bad but I could never think of some way to fix it. Very well written, btw. Thank you ❤️