Запитання 26
In React, what is the consequence of mutating state directly on hooks like useState or useReducer?
Варіанти відповідей
React will automatically detect and update the UI
Dependency checks like React.memo and useEffect will fail to detect changes
State will reset to its initial value
It will enforce a full component remount