Hooks (useState, useEffect, useContext, and more) are React features for managing state and side effects in functional components — and they work the same in React Native. Understanding the key hooks is essential for building React Native components.
useState — state
const [count, setCount] = useState(0); // state + setter; setting it re-renders
const [user, setUser] = useState();
