---
title: "Comment by AsherCode on \"How Containment in React Can Improve Your Code\" | Hashnode"
description: "that&#39;s a cool trick, it blowed my mind and i consider it&#39;s very useful as a react developer. Thanks for sharing it!"
url: "https://hashnode.com/posts/how-containment-in-react-can-improve-your-code/61516eef9b404a323969a007/comment/615214e5040ee872369506cb"
---

[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)

[AsherCode](https://hashnode.com/@AsherCode)

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

that's a cool trick, it blowed my mind and i consider it's very useful as a react developer. Thanks for sharing it!

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

[Sep 28, 2021](https://hashnode.com/posts/how-containment-in-react-can-improve-your-code/61516eef9b404a323969a007/comment/615214e5040ee872369506cb#reply-6152d8249c8bfd08f5ba67cb)

Thanks [AsherCode](https://hashnode.com/@AsherCode), awesome to hear that it's useful for you! 🎉
