What are React hooks?
Posted on February 6, 2025
React hooks are functions that allow you to use state and lifecycle features in functional components. Before hooks, these features were only available in class components. Common hooks include useState, useEffect, useContext, useReducer, etc.