useContext in React
We use React Context to manage the state at a global level. Components can get data from the React context no matter how far down the components tree they are.
The very first step used in creating Context is to import “createContext”
Context
Context...
savvyshivam.hashnode.dev3 min read