When might you choose to use the "useReducer" hook with context API instead of "useState" hook?

When user needs to store simple value that doesn't change frequenctly

When user wants to manage the state of multiple unrelated contexts

When the state transitions are complex and involves multiple sub-states

When user wants to expose the context to wide range of components.

Verified Answer
Correct Option - c

To get all Infosys Certified React Expert Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in