Concept Flow - Creating custom hooks
Start Component
Call Custom Hook
Inside Hook: useState/useEffect
Return State/Functions
Component Uses Hook Data
Render UI with Hook Data
User Interaction -> State Update
Re-render Component with New State
The component calls the custom hook, which manages state and effects, returns data and functions, and the component uses these to render and update UI.
