I am using an Auth Context Provider in my App, which is initialised in this file: authState.js import React, { useReducer, createContext, useContext } from "rea
i am trying save user object in context but i am gettin g undefined this is my context: import { createContext } from "react"; export const UserContext = creat
I want to test the following React component import React, { useContext, useState } from "react"; import { IntlProvider } from "react-intl"; export const Conte
When I wrap the index.js with my context provider I just see a blank page. this is my context import React, { createContext, Fragment, useState } from 'react';
When I use the app and navigate to the SetContext component, I see the value of auth is correct ("dummy value") and after entering a value in the edit field and
am trying to see the data am that am get from an API using SWR and also setting the currency in the API to what ever the user is using through context API but i