Tag: context api

  • 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…

  • 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…