Запитання 9
What are the benefits of using React hooks?
Варіанти відповідей
They allow using state and lifecycle features inside functional components, simplifying code and enabling reusable logic.
Hooks are deprecated in favor of class-based components and higher-order components.
Hooks automatically generate UI elements without developers writing JSX.
Hooks exclusively handle server-side rendering logic in React.