---
title: "Comment by Shad Mirza on \"Unlocking React's Potential: 10 Advanced Patterns You Should Master\" | Hashnode"
description: "I think HOC and Error Boundary pattern are not relevant anymore. We used to use them in pre hooks era but hooks have simplified so much that it&#39;s the defaul"
url: "https://hashnode.com/posts/unlocking-reacts-potential-10-advanced-patterns-you-should-master/652d7de19f2707cec44b11fd/comment/6530e7d82401c63aa8e6d82e"
---

[Discussion](https://hashnode.com/posts/unlocking-reacts-potential-10-advanced-patterns-you-should-master/652d7de19f2707cec44b11fd)

Comment [Unlocking React's Potential: 10 Advanced Patterns You Should Master](https://hashnode.com/posts/unlocking-reacts-potential-10-advanced-patterns-you-should-master/652d7de19f2707cec44b11fd)

[Shad Mirza](https://hashnode.com/@iamshadmirza)

[Oct 19, 2023](https://hashnode.com/posts/unlocking-reacts-potential-10-advanced-patterns-you-should-master/652d7de19f2707cec44b11fd/comment/6530e7d82401c63aa8e6d82e)

I think HOC and Error Boundary pattern are not relevant anymore. We used to use them in pre hooks era but hooks have simplified so much that it's the default choice for most of the use cases.

Compound component can also be refactored using Hooks to provide much more consumable APIs.

[Karl Bolinger](https://hashnode.com/@kbolinger)

[Mar 1, 2024](https://hashnode.com/posts/unlocking-reacts-potential-10-advanced-patterns-you-should-master/652d7de19f2707cec44b11fd/comment/6530e7d82401c63aa8e6d82e#reply-65e13cf22a6e51e0b7fda4ed)

Thanks for the feedback. I updated my article stay more current.
