React Design Pattern - Higher-Order Component
✅ Common Pattern of the Recurring Problem
Sometimes, you want to enhance components with additional logic while minimizing the amount of copy-and-pasting. Additionally, it's essential to ensure that the logic is detached from the presentation layer and that the original codebases remain uncontaminated by cross-cutting concerns such as logging