Describe how React Context API can be used for state management in an app. · InterviewLane