Kindly help me to solve this issue.
I need to pass the variable from one component (file) to the state that is located in another component (file) so that I could access the variable via consumer in all the other files.
Thanks in Advance
I’m very much thankful if anyone shares the resource for React context API completely