Conditionally Fetch Usecontext Value React

When building a React application, managing state and passing data between components can sometimes become a complex task. This is where the useContext hook comes into play, offering a simple and effective way to share values across your component tree without having to pass props down manually at every level. However, there are times when