useState Hook in React
User usestate in react Assistant `useState` is a Hook in React that lets you add **state** to functional components. ### 🔧 Syntax: const [state, setState] = useState(initialValue); – `state` is the current state value. – `setState` is the function to update the state. – `initialValue` is the starting value of the state. — ### 🧠 […]