Category: State Management

  • Using Context API with Custom Hooks

    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

    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…

  • How Context API Fits into Component-driven Architectures in React.js

    How Context API Fits into Component-driven Architectures in React.js

    React’s Context API is often introduced as a solution for managing global state without the complexity of third-party libraries like Redux. While it is typically associated with simple state management needs, the Context API plays an important role in component-driven architectures, helping create flexible and scalable UI systems. In this post, we will explore how…