Kizspy | Question: 30
(Choose 1 answer)
How would you apply the useReducer hook to manage complex state logic in a React Native application?
A. By using the useReducer hook to create a custom reducer function and dispatch actions to update state
B. By using a combination of useState hooks to manage different slices of state separately
C. By implementing a custom state management solution using context and higher-order components
D. By directly mutating the state object within functional components to update state