-
Using Context API with Custom Hooks
Previously I shared a post about How Context API fits into Component-driven architecture and shared a small glance of using Context API with a custom hook. This post dives deep into that specific part of the previous entry, this way you can have a broader understanding of the flexibility React offers when using two of…
-
Advanced State Management Patterns in React Using Custom Hooks
State management is crucial for building dynamic React applications. While Context API and Redux are popular tools for managing state, Custom Hooks offer a flexible and efficient approach to handling component-specific or shared state across components without the complexity of a global state library. Alonso VazquezWeb developer with over ~6 years of experience. I am…
-
Event-driven Architecture in JavaScript
In modern web applications, managing complex interactions between different parts of the app can quickly become challenging. One way to tackle this problem is through an Event-Driven Architecture (EDA), where components or modules communicate by emitting and listening for events. In this post, we’ll explore how to implement EDA in JavaScript, particularly in a React…