---
title: "Comment by Gabriel Alves Cunha on \"How Containment in React Can Improve Your Code\" | Hashnode"
description: "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 wr"
url: "https://hashnode.com/posts/how-containment-in-react-can-improve-your-code/61516eef9b404a323969a007/comment/6155be3e28ed304eb1d7f5fc"
---

[Discussion](https://hashnode.com/posts/how-containment-in-react-can-improve-your-code/61516eef9b404a323969a007)

Comment [How Containment in React Can Improve Your Code](https://hashnode.com/posts/how-containment-in-react-can-improve-your-code/61516eef9b404a323969a007)

[Gabriel Alves Cunha](https://hashnode.com/@Biel)

[Sep 30, 2021](https://hashnode.com/posts/how-containment-in-react-can-improve-your-code/61516eef9b404a323969a007/comment/6155be3e28ed304eb1d7f5fc)

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 ❤️

[Tomasz Gil](https://hashnode.com/@tomaszgil)

[Sep 30, 2021](https://hashnode.com/posts/how-containment-in-react-can-improve-your-code/61516eef9b404a323969a007/comment/6155be3e28ed304eb1d7f5fc#reply-615604d128ed304eb1d7fedb)

Thanks [Gabriel Alves Cunha](https://hashnode.com/@Biel) really appreciate that! Happy to help! 🎉
