How to perform state management using reducer and react context? | Context API | react Interview Questions | NextRound.in