Запитання 27
What is the recommended way to reset specific parts of a component's state when using useReducer?
Варіанти відповідей
Reassign the entire state object to null
Dispatch a RESET action to the reducer
Mutate the state directly in the reducer
Unmount and remount the component manually