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 Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram